Borderou de evaluare (job #478202)

Utilizator APOCALYPTODragos APOCALYPTO Data 17 august 2010 19:20:34
Problema Politia Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int BFS()': user.cpp:28: 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:28: 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: In function 'void solve()': user.cpp:54: error: no match for 'operator=' in 'it = G[((int)sink)].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[((int)sink)].std::vector<_Tp, _Alloc>::end [with _Tp = short int, _Alloc = std::allocator<short int>]()' user.cpp:51: warning: unused variable 'ok' user.cpp: In function 'int main()': user.cpp:179: warning: unused variable 'i'

Ceva nu functioneaza?