Borderou de evaluare (job #1203697)

Utilizator apopeid15Apopei Daniel apopeid15 Data 1 iulie 2014 09:14:41
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:63:13: error: redefinition of ‘std::ifstream fin’ ifstream fin("bool.in"); ^ user.cpp:4:10: error: ‘std::ifstream fin’ previously declared here ifstream fin("bool.in"); ^ user.cpp:64:14: error: redefinition of ‘std::ofstream fout’ ofstream fout("bool.out"); ^ user.cpp:5:10: error: ‘std::ofstream fout’ previously declared here ofstream fout("bool.out"); ^ user.cpp:65:5: error: redefinition of ‘int n’ int n, p; ^ user.cpp:6:5: error: ‘int n’ previously declared here int n, p; ^ user.cpp:65:8: error: redefinition of ‘int p’ int n, p; ^ user.cpp:6:8: error: ‘int p’ previously declared here int n, p; ^ user.cpp:66:12: error: redefinition of ‘char V [1009]’ char V[Nmax], c, Alf['Z' - 'A' + 9]; ^ user.cpp:7:6: error: ‘char V [1009]’ previously declared here char V[Nmax], c, Alf['Z' - 'A' + 9]; ^ user.cpp:66:15: error: redefinition of ‘char c’ char V[Nmax], c, Alf['Z' - 'A' + 9]; ^ user.cpp:7:15: error: ‘char c’ previously declared here char V[Nmax], c, Alf['Z' - 'A' + 9]; ^ user.cpp:66:35: error: redefinition of ‘char Alf [34]’ char V[Nmax], c, Alf['Z' - 'A' + 9]; ^ user.cpp:7:18: error: ‘char Alf [34]’ previously declared here char V[Nmax], c, Alf['Z' - 'A' + 9]; ^ user.cpp: In function ‘bool Eval()’: user.cpp:71:13: error: redefinition of ‘bool Eval()’ inline bool Eval() ^ user.cpp:12:13: error: ‘bool Eval()’ previously defined here inline bool Eval() ^ user.cpp: In function ‘bool Factor()’:

Ceva nu functioneaza?