Borderou de evaluare (job #545251)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Subsecvențe 2 | Compilator | cpp |
Rundă | lasm_19_03_2020_cl_12_a | Status | evaluat |
Dată | 19 mar. 2020 13:04:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘u64 find_value(u64)’:
user.cpp:34:15: error: reference to ‘hash’ is ambiguous
user.cpp:17: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:34:41: error: reference to ‘hash’ is ambiguous
user.cpp:17: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:46:9: error: reference to ‘hash’ is ambiguous
user.cpp:17: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:70:70: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
user.cpp: In function ‘int call_dp(std::vector<int>)’:
user.cpp:95:1: warning: control reaches end of non-void function [-Wreturn-type]