Borderou de evaluare (job #1023964)

Utilizator antonioteoZait Teodor Antonio antonioteo Data 7 noiembrie 2013 22:18:47
Problema Ecuatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:55:5: error: reference to ‘hash’ is ambiguous hash = s % MOD; ^ user.cpp:9:16: note: candidates are: long long int hash LL s, k, semn, hash; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_bvector.h:1134:0, from /usr/local/include/c++/4.8.0/vector:65, from user.cpp:2: /usr/local/include/c++/4.8.0/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash struct hash; ^ user.cpp:56:20: error: reference to ‘hash’ is ambiguous if (!Find_Hash(hash)) ^ user.cpp:9:16: note: candidates are: long long int hash LL s, k, semn, hash; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_bvector.h:1134:0, from /usr/local/include/c++/4.8.0/vector:65, from user.cpp:2: /usr/local/include/c++/4.8.0/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash struct hash; ^ user.cpp:57:11: error: reference to ‘hash’ is ambiguous Hash[hash].push_back(H(s, 1, semn)); ^ user.cpp:9:16: note: candidates are: long long int hash LL s, k, semn, hash; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_bvector.h:1134:0, from /usr/local/include/c++/4.8.0/vector:65, from user.cpp:2: /usr/local/include/c++/4.8.0/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash struct hash; ^ user.cpp:69:6: error: reference to ‘hash’ is ambiguous hash = s % MOD; ^ user.cpp:9:16: note: candidates are: long long int hash LL s, k, semn, hash; ^ In file included from /usr/local/include/c++/4.8.0/bits/stl_bvector.h:1134:0, from /usr/local/include/c++/4.8.0/vector:65, from user.cpp:2: /usr/local/include/c++/4.8.0/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash struct hash; ^ user.cpp:70:24: error: reference to ‘hash’ is ambiguous

Ceva nu functioneaza?