Borderou de evaluare (job #180044)
Utilizator | Data | 16 aprilie 2008 16:34:01 | |
---|---|---|---|
Problema | Abc2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp: In function 'int main()':
user.cpp:25: error: no match for 'operator=' in 'end = hash.std::map<_Key, _Tp, _Compare, _Alloc>::end [with _Key = int, _Tp = bool, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, bool> >]()'
/usr/include/c++/4.2/bits/stl_tree.h:153: note: candidates are: std::_Rb_tree_iterator<std::pair<const unsigned int, bool> >& std::_Rb_tree_iterator<std::pair<const unsigned int, bool> >::operator=(const std::_Rb_tree_iterator<std::pair<const unsigned int, bool> >&)
user.cpp:34: error: no match for 'operator!=' in 'hash.std::map<_Key, _Tp, _Compare, _Alloc>::find [with _Key = int, _Tp = bool, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, bool> >](((const int&)((const int*)(&((int)x))))) != end'
/usr/include/c++/4.2/bits/stl_tree.h:215: note: candidates are: bool std::_Rb_tree_iterator<_Tp>::operator!=(const std::_Rb_tree_iterator<_Tp>&) const [with _Tp = std::pair<const int, bool>]
user.cpp:39: error: no match for 'operator!=' in 'hash.std::map<_Key, _Tp, _Compare, _Alloc>::find [with _Key = int, _Tp = bool, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, bool> >](((const int&)((const int*)(&((int)x))))) != end'
/usr/include/c++/4.2/bits/stl_tree.h:215: note: candidates are: bool std::_Rb_tree_iterator<_Tp>::operator!=(const std::_Rb_tree_iterator<_Tp>&) const [with _Tp = std::pair<const int, bool>]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !