Borderou de evaluare (job #1051608)

Utilizator stanescu.raduRadu Stanescu stanescu.radu Data 10 decembrie 2013 12:27:59
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:1: error: ‘unordered’ does not name a type unordered map <int,int> map; ^ user.cpp: In function ‘int main()’: user.cpp:20:7: error: ‘map’ was not declared in this scope if (map.find(x)==map.end()) ^ user.cpp:21:30: error: expected ‘)’ before ‘;’ token map.insert (make_pair(x,1); ^ user.cpp:25:11: error: ‘map’ was not declared in this scope for (l = map.begin(); l <= map.end(); l ++) ^

Ceva nu functioneaza?