Borderou de evaluare (job #200427)

Utilizator AndreiDDiaconeasa Andrei AndreiD Data 23 iulie 2008 21:26:11
Problema Lungimi de interval Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:2:23: error: algorithm.h: No such file or directory In file included from /usr/include/c++/4.2/backward/vector.h:59, from user.cpp:3: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp:40:2: warning: no newline at end of file user.cpp:5: error: '>>' should be '> >' within a nested template argument list user.cpp: In function 'int main()': user.cpp:13: error: 'sacnf' was not declared in this scope user.cpp:21: error: no matching function for call to 'std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >::push_back(int&, int&)' /usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >] user.cpp:28: error: expected `;' before ')' token

Ceva nu functioneaza?