Borderou de evaluare (job #145921)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Subsecvente (clasele 11 și 12) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 12 mai 2015 22:39:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘u64 find_value(u64)’:
user.cpp:44:15: error: reference to ‘hash’ is ambiguous
user.cpp:22:30: error: candidates are: std::vector<std::pair<long long unsigned int, int> > hash [666013]
/usr/include/c++/4.6/bits/functional_hash.h:58:12: error: template<class _Tp> struct std::hash
user.cpp:44:41: error: reference to ‘hash’ is ambiguous
user.cpp:22:30: error: candidates are: std::vector<std::pair<long long unsigned int, int> > hash [666013]
/usr/include/c++/4.6/bits/functional_hash.h:58:12: error: template<class _Tp> struct std::hash
user.cpp: In function ‘int hash_array(std::vector<int>&)’:
user.cpp:59:9: error: reference to ‘hash’ is ambiguous
user.cpp:22:30: error: candidates are: std::vector<std::pair<long long unsigned int, int> > hash [666013]
/usr/include/c++/4.6/bits/functional_hash.h:58:12: error: template<class _Tp> struct std::hash
user.cpp: In function ‘int dp_func(int, ...)’:
user.cpp:91:70: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
user.cpp: In function ‘int call_dp(std::vector<int>)’:
user.cpp:116:1: warning: control reaches end of non-void function [-Wreturn-type]