Borderou de evaluare (job #722099)
Utilizator | Data | 24 martie 2012 15:20:34 | |
---|---|---|---|
Problema | Muncitori | Status | done |
Runda | Algoritmiada 2012 - Runda 4, Clasa a 10-a | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:32: error: no matching function for call to ‘std::multiset<std::pair<int, int>, std::less<std::pair<int, int> >, std::allocator<std::pair<int, int> > >::lower_bound(int&)’
/usr/include/c++/4.4/bits/stl_multiset.h:553: note: candidates are: typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator std::multiset<_Key, _Compare, _Alloc>::lower_bound(const _Key&) [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_multiset.h:557: note: typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator std::multiset<_Key, _Compare, _Alloc>::lower_bound(const _Key&) const [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]
user.cpp:33: error: no match for ‘operator!=’ in ‘it != a.std::multiset<_Key, _Compare, _Alloc>::end [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]()’
/usr/include/c++/4.4/bits/stl_tree.h:291: note: candidates are: bool std::_Rb_tree_const_iterator<_Tp>::operator!=(const std::_Rb_tree_const_iterator<_Tp>&) const [with _Tp = int]
user.cpp:35: error: ‘struct std::_Rb_tree_const_iterator<int>’ has no member named ‘first’
user.cpp:35: error: expected primary-expression before ‘)’ token
user.cpp:35: error: expected ‘;’ before ‘)’ token
user.cpp:36: error: ‘struct std::_Rb_tree_const_iterator<int>’ has no member named ‘second’
user.cpp:37: error: no matching function for call to ‘std::multiset<std::pair<int, int>, std::less<std::pair<int, int> >, std::allocator<std::pair<int, int> > >::erase(std::_Rb_tree_const_iterator<int>&)’
/usr/include/c++/4.4/bits/stl_multiset.h:463: note: candidates are: void std::multiset<_Key, _Compare, _Alloc>::erase(typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator) [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_multiset.h:478: note: typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::size_type std::multiset<_Key, _Compare, _Alloc>::erase(const _Key&) [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]
/usr/include/c++/4.4/bits/stl_multiset.h:493: note: void std::multiset<_Key, _Compare, _Alloc>::erase(typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator, typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator) [with _Key = std::pair<int, int>, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]
user.cpp:14: warning: unused variable ‘j’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !