Borderou de evaluare (job #545886)

Utilizator avatar S_Dan Sochirca Dan S_Dan IP ascuns
Problemă Subsecvențe 2 Compilator cpp
Rundă lasm_19_03_2020_cl_12_a Status evaluat
Dată 19 mar. 2020 14:53:31 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]