Borderou de evaluare (job #1282920)

Utilizator mirceadinoMircea Popoveniuc mirceadino Data 4 decembrie 2014 21:32:49
Problema Immortal Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul II Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void back(std::set<std::pair<int, int> >)’: user.cpp:71:19: error: no match for ‘operator==’ (operand types are ‘std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<int, int> > >’ and ‘std::_Rb_tree_const_iterator<std::pair<int, int> >’) if(it == jt) ^ user.cpp:71:19: note: candidates are: In file included from /usr/include/c++/4.8/unordered_set:48:0, from user.cpp:17: /usr/include/c++/4.8/bits/unordered_set.h:1283:5: note: template<class _Value, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&, const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&) operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/4.8/bits/unordered_set.h:1283:5: note: template argument deduction/substitution failed: user.cpp:71:22: note: ‘std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<int, int> > >’ is not derived from ‘const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>’ if(it == jt) ^ In file included from /usr/include/c++/4.8/unordered_set:48:0, from user.cpp:17: /usr/include/c++/4.8/bits/unordered_set.h:1271:5: note: template<class _Value, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_set<_Value, _Hash, _Pred, _Alloc>&, const std::unordered_set<_Value, _Hash, _Pred, _Alloc>&) operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/4.8/bits/unordered_set.h:1271:5: note: template argument deduction/substitution failed: user.cpp:71:22: note: ‘std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<int, int> > >’ is not derived from ‘const std::unordered_set<_Value, _Hash, _Pred, _Alloc>’ if(it == jt) ^ In file included from /usr/include/c++/4.8/unordered_map:48:0, from user.cpp:16: /usr/include/c++/4.8/bits/unordered_map.h:1400:5: note: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&) operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/4.8/bits/unordered_map.h:1400:5: note: template argument deduction/substitution failed: user.cpp:71:22: note: ‘std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<int, int> > >’ is not derived from ‘const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>’ if(it == jt) ^ In file included from /usr/include/c++/4.8/unordered_map:48:0, from user.cpp:16: /usr/include/c++/4.8/bits/unordered_map.h:1388:5: note: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&) operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/4.8/bits/unordered_map.h:1388:5: note: template argument deduction/substitution failed: user.cpp:71:22: note: ‘std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<int, int> > >’ is not derived from ‘const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>’ if(it == jt) ^ In file included from /usr/include/c++/4.8/stack:61:0, from user.cpp:15: /usr/include/c++/4.8/bits/stl_stack.h:243:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::stack<_Tp, _Seq>&, const std::stack<_Tp, _Seq>&) operator==(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y) ^ /usr/include/c++/4.8/bits/stl_stack.h:243:5: note: template argument deduction/substitution failed: user.cpp:71:22: note: ‘std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<int, int> > >’ is not derived from ‘const std::stack<_Tp, _Seq>’ if(it == jt) ^

Ceva nu functioneaza?