Borderou de evaluare (job #1643095)

Utilizator MickeyTurcu Gabriel Mickey Data 9 martie 2016 17:33:27
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.8/backward/hash_set:60:0, from user.cpp:2: /usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ user.cpp: In function ‘int main()’: user.cpp:11:26: error: template argument 2 is invalid hash_set<int, hash<int> > M; ^ user.cpp:11:29: error: invalid type in declaration before ‘;’ token hash_set<int, hash<int> > M; ^ user.cpp:17:6: error: request for member ‘insert’ in ‘M’, which is of non-class type ‘int’ M.insert(value); ^ user.cpp:20:7: error: request for member ‘erase’ in ‘M’, which is of non-class type ‘int’ M.erase(value); ^ user.cpp:22:11: error: request for member ‘find’ in ‘M’, which is of non-class type ‘int’ if (M.find(value) != M.end()) ^ user.cpp:22:28: error: request for member ‘end’ in ‘M’, which is of non-class type ‘int’ if (M.find(value) != M.end()) ^

Ceva nu functioneaza?