Borderou de evaluare (job #2588674)

Utilizator MihaiG09Gheorghe Mihai MihaiG09 Data 25 martie 2020 11:39:17
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:11: error: redefinition of 'const int NMAX' const int NMAX = 50001; ^~~~ main.cpp:12:11: note: 'const int NMAX' previously defined here const int NMAX = 50001; ^~~~ main.cpp:19:11: error: redefinition of 'const int oo' const int oo = (1 << 30) ; ^~ main.cpp:13:11: note: 'const int oo' previously defined here const int oo = (1 << 30) ; ^~ main.cpp:20:5: error: redefinition of 'int n' int n, m, s, t; ^ main.cpp:14:5: note: 'int n' previously declared here int n, m, s, t; ^ main.cpp:20:8: error: redefinition of 'int m' int n, m, s, t; ^ main.cpp:14:8: note: 'int m' previously declared here int n, m, s, t; ^ main.cpp:20:11: error: redefinition of 'int s' int n, m, s, t; ^ main.cpp:14:11: note: 'int s' previously declared here int n, m, s, t; ^ main.cpp:20:14: error: redefinition of 'int t' int n, m, s, t; ^ main.cpp:14:14: note: 'int t' previously declared here int n, m, s, t; ^ main.cpp:21:14: error: redefinition of 'int Fort [50001]' int Fort[NMAX]; ^ main.cpp:15:5: note: 'int Fort [50001]' previously declared here int Fort[NMAX]; ^~~~ main.cpp:22:11: error: redefinition of 'int D [50001]' int D[NMAX]; ^ main.cpp:16:5: note: 'int D [50001]' previously declared here int D[NMAX]; ^ main.cpp:24:18: error: redefinition of 'bool InCoada [50001]' bool InCoada[NMAX]; Non zero exit status: 1

Ceva nu functioneaza?