Borderou de evaluare (job #18293)

Utilizator baktakNicoleta Iordachi baktak Data 18 februarie 2007 11:17:40
Problema Ghiozdan Status done
Runda preONI 2007, Runda 2, Clasele 11-12 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/fstream.h:31, from user.cpp:1: /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.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:37:12: warning: no newline at end of file user.cpp: In function 'void back(int)': user.cpp:14: warning: name lookup of 'i' changed user.cpp:6: warning: matches this 'i' under ISO standard rules user.cpp:9: warning: matches this 'i' under old rules user.cpp: At global scope: user.cpp:25: error: '::main' must return 'int' user.cpp: In function 'int main()': user.cpp:31: error: name lookup of 'i' changed for new ISO 'for' scoping user.cpp:28: error: using obsolete binding at 'i' user.cpp:34: error: 'endl' was not declared in this scope

Ceva nu functioneaza?