Borderou de evaluare (job #539172)

Utilizator vladcfVlad Frasineanu vladcf Data 22 februarie 2011 16:09:13
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:1: /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:43:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:20: error: no matching function for call to 'std::vector<int, std::allocator<int> >::push_back()' /usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator<int>] user.cpp:25: error: request for member 'size' in 'h', which is of non-class type 'std::vector<int, std::allocator<int> > [666013]' user.cpp:31: warning: statement has no effect

Ceva nu functioneaza?