Borderou de evaluare (job #2247335)

Utilizator RaduBurchelRadu Burchel RaduBurchel Data 28 septembrie 2018 13:46:20
Problema Crescator Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:57:13: error: redefinition of ‘std::ifstream fin’ ifstream fin("crescator.in"); ^ user.cpp:5:10: note: ‘std::ifstream fin’ previously declared here ifstream fin("crescator.in"); ^~~ user.cpp:58:14: error: redefinition of ‘std::ofstream fout’ ofstream fout("crescator.out"); ^ user.cpp:6:10: note: ‘std::ofstream fout’ previously declared here ofstream fout("crescator.out"); ^~~~ user.cpp:60:5: error: redefinition of ‘int n’ int n, nrSiruri, lMax, lungime; ^ user.cpp:8:5: note: ‘int n’ previously declared here int n, nrSiruri, lMax, lungime; ^ user.cpp:60:8: error: redefinition of ‘int nrSiruri’ int n, nrSiruri, lMax, lungime; ^~~~~~~~ user.cpp:8:8: note: ‘int nrSiruri’ previously declared here int n, nrSiruri, lMax, lungime; ^~~~~~~~ user.cpp:60:18: error: redefinition of ‘int lMax’ int n, nrSiruri, lMax, lungime; ^~~~ user.cpp:8:18: note: ‘int lMax’ previously declared here int n, nrSiruri, lMax, lungime; ^~~~ user.cpp:60:24: error: redefinition of ‘int lungime’ int n, nrSiruri, lMax, lungime; ^~~~~~~ user.cpp:8:24: note: ‘int lungime’ previously declared here int n, nrSiruri, lMax, lungime; ^~~~~~~ user.cpp:61:15: error: redefinition of ‘long long int x’ long long int x, xp; ^ user.cpp:9:15: note: ‘long long int x’ previously declared here long long int x, xp; ^ user.cpp:61:18: error: redefinition of ‘long long int xp’ long long int x, xp; ^~ user.cpp:9:18: note: ‘long long int xp’ previously declared here long long int x, xp; ^~ user.cpp: In function ‘int main()’: user.cpp:63:5: error: redefinition of ‘int main()’

Ceva nu functioneaza?