Borderou de evaluare (job #292381)

Utilizator lexu93Todor Alex lexu93 Data 31 martie 2009 08:44:43
Problema Energii Status done
Runda Arhiva de probleme 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:58:2: warning: no newline at end of file user.cpp:32: error: redefinition of 'const long int inf' user.cpp:3: error: 'const long int inf' previously defined here user.cpp:33: error: redefinition of 'struct gen' user.cpp:4: error: previous definition of 'struct gen' user.cpp:34: error: redefinition of 'gen a [1002]' user.cpp:5: error: 'gen a [1002]' previously declared here user.cpp:35: error: redefinition of 'long int i' user.cpp:6: error: 'long int i' previously declared here user.cpp:35: error: redefinition of 'long int n' user.cpp:6: error: 'long int n' previously declared here user.cpp:35: error: redefinition of 'long int j' user.cpp:6: error: 'long int j' previously declared here user.cpp:35: error: redefinition of 'long int v [5002]' user.cpp:6: error: 'long int v [5002]' previously declared here user.cpp:35: error: redefinition of 'long int w' user.cpp:6: error: 'long int w' previously declared here user.cpp:36: error: redefinition of 'std::ifstream fin' user.cpp:7: error: 'std::ifstream fin' previously declared here user.cpp:37: error: redefinition of 'std::ofstream fout' user.cpp:8: error: 'std::ofstream fout' previously declared here user.cpp: In function 'int main()': user.cpp:39: error: redefinition of 'int main()' user.cpp:10: error: 'int main()' previously defined here

Ceva nu functioneaza?