Borderou de evaluare (job #1502786)

Utilizator goalexboxerFMI Alexandru Ionascu goalexboxer Data 14 octombrie 2015 23:56:48
Problema Coco Chanel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:47:2: error: stray ‘#’ in program }#include<fstream> ^ user.cpp:47:3: error: ‘include’ does not name a type }#include<fstream> ^ user.cpp:53:11: error: redefinition of ‘std::ifstream f’ ifstream f("cocochanel.in"); ^ user.cpp:7:10: error: ‘std::ifstream f’ previously declared here ifstream f("cocochanel.in"); ^ user.cpp:54:11: error: redefinition of ‘std::ofstream g’ ofstream g("cocochanel.out"); ^ user.cpp:8:10: error: ‘std::ofstream g’ previously declared here ofstream g("cocochanel.out"); ^ user.cpp:56:5: error: redefinition of ‘int n’ int n,m; ^ user.cpp:10:5: error: ‘int n’ previously declared here int n,m; ^ user.cpp:56:7: error: redefinition of ‘int m’ int n,m; ^ user.cpp:10:7: error: ‘int m’ previously declared here int n,m; ^ user.cpp:57:15: error: redefinition of ‘int cocks [100001]’ int cocks[MAXN]; ^ user.cpp:11:5: error: ‘int cocks [100001]’ previously declared here int cocks[MAXN]; ^ user.cpp:58:16: error: redefinition of ‘int chicks [100001]’ int chicks[MAXN]; ^ user.cpp:12:5: error: ‘int chicks [100001]’ previously declared here int chicks[MAXN]; ^ user.cpp: In function ‘int main()’: user.cpp:60:5: error: redefinition of ‘int main()’ int main() ^ user.cpp:14:5: error: ‘int main()’ previously defined here int main() ^

Ceva nu functioneaza?