Borderou de evaluare (job #308460)

Utilizator slayer4uVictor Popescu slayer4u Data 27 aprilie 2009 10:48:34
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:54:2: warning: no newline at end of file user.cpp:7: error: conflicting declaration 'long int x [101][101]' user.cpp:5: error: 'x' has a previous declaration as 'std::vector<int, std::allocator<int> > x [100001]' user.cpp: In function 'void frectie(long int)': user.cpp:11: warning: comparison between signed and unsigned integer expressions user.cpp:14: error: no matching function for call to 'std::vector<int, std::allocator<int> >::erase(long 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 = int, _Alloc = std::allocator<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 = int, _Alloc = std::allocator<int>] user.cpp:15: error: 'j' was not declared in this scope

Ceva nu functioneaza?