Borderou de evaluare (job #2094868)
Utilizator | Data | 26 decembrie 2017 17:31:50 | |
---|---|---|---|
Problema | Pariuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:9: error: ‘map’ was not declared in this scope
for(map <int,int>::iterator it=usu.begin();it!=usu.end();++it) g<<it->first<<' '<<it->second<<' ';
^
user.cpp:21:14: error: expected primary-expression before ‘int’
for(map <int,int>::iterator it=usu.begin();it!=usu.end();++it) g<<it->first<<' '<<it->second<<' ';
^
user.cpp:21:14: error: expected ‘;’ before ‘int’
user.cpp:21:48: error: ‘it’ was not declared in this scope
for(map <int,int>::iterator it=usu.begin();it!=usu.end();++it) g<<it->first<<' '<<it->second<<' ';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !