Borderou de evaluare (job #528274)

Utilizator APOCALYPTODragos APOCALYPTO Data 2 februarie 2011 15:19:05
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'void solve()': user.cpp:54: error: no match for 'operator=' in 'it = G[u].std::vector<_Tp, _Alloc>::begin [with _Tp = short int, _Alloc = std::allocator<short int>]()' /usr/include/c++/4.2/bits/stl_iterator.h:637: note: candidates are: __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >& __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >::operator=(const __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >&) user.cpp:54: error: no match for 'operator<' in 'it < G[u].std::vector<_Tp, _Alloc>::end [with _Tp = short int, _Alloc = std::allocator<short int>]()' user.cpp:56: error: no match for 'operator=' in 'jt = G[it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()].std::vector<_Tp, _Alloc>::begin [with _Tp = short int, _Alloc = std::allocator<short int>]()' /usr/include/c++/4.2/bits/stl_iterator.h:637: note: candidates are: __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >& __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >::operator=(const __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >&) user.cpp:56: error: no match for 'operator<' in 'jt < G[it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()].std::vector<_Tp, _Alloc>::end [with _Tp = short int, _Alloc = std::allocator<short int>]()' user.cpp:60: error: no matching function for call to 'std::vector<short int, std::allocator<short int> >::erase(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >)' /usr/include/c++/4.2/bits/vector.tcc:109: note: candidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = short int, _Alloc = std::allocator<short int>] /usr/include/c++/4.2/bits/vector.tcc:121: note: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = short int, _Alloc = std::allocator<short int>]

Ceva nu functioneaza?