Borderou de evaluare (job #926387)

Utilizator cernat.catallinFMI Cernat Catalin Stefan cernat.catallin Data 25 martie 2013 10:37:48
Problema Fotbal2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:19: error: request for member ‘resize’ in ‘graf’, which is of non-class type ‘std::vector<std::vector<e, std::allocator<e> >, std::allocator<std::vector<e, std::allocator<e> > > > [500050]’ user.cpp:25: error: no matching function for call to ‘std::vector<std::vector<e, std::allocator<e> >, std::allocator<std::vector<e, std::allocator<e> > > >::push_back(e&)’ /usr/include/c++/4.4/bits/stl_vector.h:733: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::vector<e, std::allocator<e> >, _Alloc = std::allocator<std::vector<e, std::allocator<e> > >] user.cpp:27: error: no matching function for call to ‘std::vector<std::vector<e, std::allocator<e> >, std::allocator<std::vector<e, std::allocator<e> > > >::push_back(e&)’ /usr/include/c++/4.4/bits/stl_vector.h:733: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::vector<e, std::allocator<e> >, _Alloc = std::allocator<std::vector<e, std::allocator<e> > >] user.cpp:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void euler(int)’: user.cpp:39: error: ‘class std::vector<e, std::allocator<e> >’ has no member named ‘nod’ user.cpp:40: error: ‘class std::vector<e, std::allocator<e> >’ has no member named ‘ind’ user.cpp: In function ‘void solve()’: user.cpp:57: error: no matching function for call to ‘std::vector<std::vector<e, std::allocator<e> >, std::allocator<std::vector<e, std::allocator<e> > > >::push_back(e&)’ /usr/include/c++/4.4/bits/stl_vector.h:733: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::vector<e, std::allocator<e> >, _Alloc = std::allocator<std::vector<e, std::allocator<e> > >] user.cpp:59: error: no matching function for call to ‘std::vector<std::vector<e, std::allocator<e> >, std::allocator<std::vector<e, std::allocator<e> > > >::push_back(e&)’ /usr/include/c++/4.4/bits/stl_vector.h:733: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::vector<e, std::allocator<e> >, _Alloc = std::allocator<std::vector<e, std::allocator<e> > >] user.cpp: In function ‘int main()’: user.cpp:75: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:76: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?