Borderou de evaluare (job #1036896)
Utilizator | Data | 19 noiembrie 2013 18:41:34 | |
---|---|---|---|
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:27:53: error: passing ‘const std::_Rb_tree_iterator<std::pair<const unsigned int, int> >’ as ‘this’ argument of ‘std::_Rb_tree_iterator<_Tp>::_Self& std::_Rb_tree_iterator<_Tp>::operator++() [with _Tp = std::pair<const unsigned int, int>; std::_Rb_tree_iterator<_Tp>::_Self = std::_Rb_tree_iterator<std::pair<const unsigned int, int> >]’ discards qualifiers [-fpermissive]
for(const auto it = list.begin(); it!=list.end();++it){
^
user.cpp:28:10: error: ‘p’ was not declared in this scope
out << p.first << ' ' << p.second << ' ';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !