Borderou de evaluare (job #2198134)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 23 aprilie 2018 18:28:34
Problema Desen2 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("desen2.in"); ^ user.cpp:7:10: note: ‘std::ifstream fin’ previously declared here ifstream fin("desen2.in"); ^~~ user.cpp:58:14: error: redefinition of ‘std::ofstream fout’ ofstream fout("desen2.out"); ^ user.cpp:8:10: note: ‘std::ofstream fout’ previously declared here ofstream fout("desen2.out"); ^~~~ user.cpp:60:11: error: redefinition of ‘const int N’ const int N=1000; ^ user.cpp:10:11: note: ‘const int N’ previously defined here const int N=1000; ^ user.cpp:61:5: error: redefinition of ‘int n’ int n,m,v[N+5][N+5]; ^ user.cpp:11:5: note: ‘int n’ previously declared here int n,m,v[N+5][N+5]; ^ user.cpp:61:7: error: redefinition of ‘int m’ int n,m,v[N+5][N+5]; ^ user.cpp:11:7: note: ‘int m’ previously declared here int n,m,v[N+5][N+5]; ^ user.cpp:61:19: error: redefinition of ‘int v [1005][1005]’ int n,m,v[N+5][N+5]; ^ user.cpp:11:9: note: ‘int v [1005][1005]’ previously declared here int n,m,v[N+5][N+5]; ^ user.cpp:62:18: error: redefinition of ‘bool viz [1005][1005]’ bool viz[N+5][N+5]; ^ user.cpp:12:6: note: ‘bool viz [1005][1005]’ previously declared here bool viz[N+5][N+5]; ^~~ user.cpp: In function ‘void nou(int, int)’: user.cpp:64:6: error: redefinition of ‘void nou(int, int)’ void nou(int r,int c) ^~~ user.cpp:14:6: note: ‘void nou(int, int)’ previously defined here void nou(int r,int c) ^~~ user.cpp: In function ‘int main()’:

Ceva nu functioneaza?