0_0_32866128_3284.cpp: In function 'void dfs(int, int)':
0_0_32866128_3284.cpp:112:39: error: reference to 'hash' is ambiguous
T[v] = update (T[u] , 1 , m , hash(w) , w);
^
0_0_32866128_3284.cpp:41:5: note: candidates are: int hash(int)
int hash (int y) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_32866128_3284.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_32866128_3284.cpp: In function 'int main()':
0_0_32866128_3284.cpp:162:17: error: expected ')' at end of input
if (a
^
0_0_32866128_3284.cpp:162:17: error: expected statement at end of input
0_0_32866128_3284.cpp:162:17: error: expected '}' at end of input
0_0_32866128_3284.cpp:162:17: error: expected '}' at end of input
0_0_32866128_3284.cpp:162:17: error: expected '}' at end of input
|