Borderou de evaluare (job #1444981)

Utilizator dragangabrielDragan Andrei Gabriel dragangabriel Data 30 mai 2015 11:15:02
Problema Caroiaj Status done
Runda Adolescent Grigore Moisil 2015 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:80:17: error: reference to ‘hash’ is ambiguous hash((int)V[i][j]); ^ user.cpp:29:6: note: candidates are: void hash(int) void hash(int x) ^ In file included from /usr/include/c++/4.8/bits/stl_bvector.h:1134:0, from /usr/include/c++/4.8/vector:65, from user.cpp:5: /usr/include/c++/4.8/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash struct hash; ^ user.cpp:65:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("caroiaj.in","r",stdin); ^ user.cpp:66:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("caroiaj.out","w",stdout); ^ user.cpp:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:73:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:79:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &V[i][j]); ^

Ceva nu functioneaza?