0_0_34004627_29772.cpp:31:1: error: reference to 'unordered_map' is ambiguous
unordered_map<int,int> mmp;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/unordered_map:42:0,
from 0_0_34004627_29772.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tr1/unordered_map.h:180:11: note: candidates are: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> class std::tr1::unordered_map
class unordered_map
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_map:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:115,
from 0_0_34004627_29772.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:98:11: note: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> class std::unordered_map
class unordered_map
^
0_0_34004627_29772.cpp:31:1: error: 'unordered_map' does not name a type
unordered_map<int,int> mmp;
^
0_0_34004627_29772.cpp: In function 'int SG(int)':
0_0_34004627_29772.cpp:52:5: error: 'mmp' was not declared in this scope
if(mmp.count(x)) return mmp[x];
^
0_0_34004627_29772.cpp:61:2: error: 'mmp' was not declared in this scope
mmp[sav] = tmp;
^
|