Borderou de evaluare (job #266784)

Utilizator skatesZaharescu Dragos skates Data 26 februarie 2009 08:47:57
Problema Factorial 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/iostream.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:22: error: redefinition of 'std::ifstream f' user.cpp:3: error: 'std::ifstream f' previously declared here user.cpp:23: error: redefinition of 'std::ofstream g' user.cpp:4: error: 'std::ofstream g' previously declared here user.cpp:24: error: redefinition of 'long long int p' user.cpp:5: error: 'long long int p' previously declared here user.cpp:24: error: redefinition of 'long long int nr' user.cpp:5: error: 'long long int nr' previously declared here user.cpp:24: error: redefinition of 'long long int x' user.cpp:5: error: 'long long int x' previously declared here user.cpp:24: error: redefinition of 'long long int q' user.cpp:5: error: 'long long int q' previously defined here user.cpp: In function 'int main()': user.cpp:25: error: redefinition of 'int main()' user.cpp:6: error: 'int main()' previously defined here

Ceva nu functioneaza?