Borderou de evaluare (job #1135962)

Utilizator sddddgjdZloteanu Anastasia sddddgjd Data 8 martie 2014 16:58:58
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:24: error: template argument 2 is invalid unordered_set<int, hash> h; ^ user.cpp:12:27: error: invalid type in declaration before ‘;’ token unordered_set<int, hash> h; ^ user.cpp: In function ‘int main()’: user.cpp:25:15: error: request for member ‘insert’ in ‘h’, which is of non-class type ‘int’ h.insert(val); ^ user.cpp:27:15: error: request for member ‘erase’ in ‘h’, which is of non-class type ‘int’ h.erase(val); ^ user.cpp:29:35: error: request for member ‘count’ in ‘h’, which is of non-class type ‘int’ fprintf(fout,"%d\n",h.count(val)); ^

Ceva nu functioneaza?