Borderou de evaluare (job #1060359)
Utilizator | Data | 17 decembrie 2013 21:58:16 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Teme Pregatire ACM Unibuc 2013 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:5: error: ‘unordered_map’ was not declared in this scope
unordered_map<int, int> hashs;
^
user.cpp:28:19: error: expected primary-expression before ‘int’
unordered_map<int, int> hashs;
^
user.cpp:28:19: error: expected ‘;’ before ‘int’
user.cpp:35:9: error: ‘hashs’ was not declared in this scope
hashs[x]++;
^
user.cpp:39:23: error: expected primary-expression before ‘int’
for(unordered_map<int, int>::iterator it = hashs.begin(); it != hashs.end() && !found; it++)
^
user.cpp:39:23: error: expected ‘;’ before ‘int’
user.cpp:39:63: error: ‘it’ was not declared in this scope
for(unordered_map<int, int>::iterator it = hashs.begin(); it != hashs.end() && !found; it++)
^
user.cpp:39:69: error: ‘hashs’ was not declared in this scope
for(unordered_map<int, int>::iterator it = hashs.begin(); it != hashs.end() && !found; it++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !