Borderou de evaluare (job #1218860)

Utilizator cojocarugabiReality cojocarugabi Data 12 august 2014 19:05:44
Problema Muzica Status done
Runda Arhiva de probleme 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:7:27: error: template argument 2 is invalid hash_set< int , hash<int> > s; ^ user.cpp:7:30: error: invalid type in declaration before ‘;’ token hash_set< int , hash<int> > s; ^ user.cpp: In function ‘int main()’: user.cpp:15:7: error: request for member ‘insert’ in ‘s’, which is of non-class type ‘int’ s.insert(a);s.insert(b); ^ user.cpp:15:19: error: request for member ‘insert’ in ‘s’, which is of non-class type ‘int’ s.insert(a);s.insert(b); ^ user.cpp:20:10: error: request for member ‘insert’ in ‘s’, which is of non-class type ‘int’ s.insert(R[p]); ^ user.cpp:24:42: error: request for member ‘find’ in ‘s’, which is of non-class type ‘int’ for (int i=1;i<=n;++i) fi>>x,Sol+=(s.find(x)!=s.end()); ^ user.cpp:24:53: error: request for member ‘end’ in ‘s’, which is of non-class type ‘int’ for (int i=1;i<=n;++i) fi>>x,Sol+=(s.find(x)!=s.end()); ^

Ceva nu functioneaza?