Borderou de evaluare (job #714144)

Utilizator hunter_ionutzzzFarcas Ionut hunter_ionutzzz Data 15 martie 2012 14:13:35
Problema Graf2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void parcurg1()’: user.cpp:71: error: no match for ‘operator=’ in ‘it = std::vector<_Tp, _Alloc>::rbegin() [with _Tp = int, _Alloc = std::allocator<int>]()’ /usr/include/c++/4.4/bits/stl_iterator.h:669: 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:71: error: ‘rtrans’ was not declared in this scope user.cpp:72: error: no match for ‘operator=’ in ‘it2 = v[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 = int, _Alloc = std::allocator<int>]()’ /usr/include/c++/4.4/bits/stl_iterator.h:96: note: candidates are: std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >& std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >::operator=(const std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >&) user.cpp:72: error: no match for ‘operator!=’ in ‘it2 != v[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 = int, _Alloc = std::allocator<int>]()’

Ceva nu functioneaza?