Borderou de evaluare (job #2515089)
Utilizator | Data | 27 decembrie 2019 19:25:09 | |
---|---|---|---|
Problema | Livada | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:13: error: 'map' was not declared in this scope
map<int, int>::iterator it = mp.find(act);
^~~
main.cpp:18:17: error: expected primary-expression before 'int'
map<int, int>::iterator it = mp.find(act);
^~~
main.cpp:19:17: error: 'it' was not declared in this scope
if (it == mp.end())
^~
main.cpp:33:14: error: 'map' was not declared in this scope
for (map<int, int>::iterator it = mp.begin(); it != mp.end(); it++)
^~~
main.cpp:33:18: error: expected primary-expression before 'int'
for (map<int, int>::iterator it = mp.begin(); it != mp.end(); it++)
^~~
main.cpp:33:55: error: 'it' was not declared in this scope
for (map<int, int>::iterator it = mp.begin(); it != mp.end(); it++)
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !