Borderou de evaluare (job #204100)

Utilizator MisterXGrigore MisterX Data 21 august 2008 19:58:27
Problema Datorii 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: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: In function 'void adaug(int, int)': user.cpp:9: warning: unused variable 'x1' user.cpp: In function 'int suma(int)': user.cpp:25: warning: unused variable 'k1' user.cpp: At global scope: user.cpp:59: error: redefinition of 'std::ifstream f' user.cpp:3: error: 'std::ifstream f' previously declared here user.cpp:60: error: redefinition of 'std::ofstream g' user.cpp:4: error: 'std::ofstream g' previously declared here user.cpp:62: error: redefinition of 'long int a [16001]' user.cpp:6: error: 'long int a [16001]' previously declared here user.cpp:62: error: redefinition of 'long int n' user.cpp:6: error: 'long int n' previously declared here user.cpp:62: error: redefinition of 'long int poz' user.cpp:6: error: 'long int poz' previously declared here user.cpp:62: error: redefinition of 'long int x' user.cpp:6: error: 'long int x' previously declared here user.cpp:62: error: redefinition of 'long int y' user.cpp:6: error: 'long int y' previously declared here user.cpp:62: error: redefinition of 'long int z' user.cpp:6: error: 'long int z' previously declared here user.cpp:62: error: redefinition of 'long int k'

Ceva nu functioneaza?