Borderou de evaluare (job #214881)

Utilizator IrnukIrina Grosu Irnuk Data 16 octombrie 2008 17:02:14
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/include/c++/4.2/backward/fstream.h:31, 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:130:2: warning: no newline at end of file user.cpp:71: error: redefinition of 'long int A [1000005]' user.cpp:6: error: 'long int A [1000005]' previously declared here user.cpp:71: error: redefinition of 'long int n' user.cpp:6: error: 'long int n' previously declared here user.cpp:72: error: redefinition of 'char s [1000005]' user.cpp:7: error: 'char s [1000005]' previously declared here user.cpp:72: error: redefinition of 'char s1 [20]' user.cpp:7: error: 'char s1 [20]' previously declared here user.cpp:73: error: redefinition of 'long long int d' user.cpp:8: error: 'long long int d' previously declared here user.cpp:73: error: redefinition of 'long long int rest' user.cpp:8: error: 'long long int rest' previously declared here user.cpp:74: error: redefinition of 'std::ifstream fin' user.cpp:9: error: 'std::ifstream fin' previously declared here user.cpp:75: error: redefinition of 'std::ofstream fout' user.cpp:10: error: 'std::ofstream fout' previously declared here user.cpp: In function 'long long int imparte()': user.cpp:77: error: new declaration 'long long int imparte()' user.cpp:12: error: ambiguates old declaration 'long int imparte()' user.cpp: In function 'int main()': user.cpp:87: error: redefinition of 'int main()'

Ceva nu functioneaza?