Borderou de evaluare (job #2262248)

Utilizator CryshanaGanea Carina Cryshana Data 17 octombrie 2018 09:18:51
Problema Fotbal3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:46: error: redefinition of 'int stmaxi [300001]' int stmaxi[N], stmini[N], drmaxi[N], stmaxi[N], v[N]; ^ main.cpp:6:5: note: 'int stmaxi [300001]' previously declared here int stmaxi[N], stmini[N], drmaxi[N], stmaxi[N], v[N]; ^~~~~~ main.cpp: In function 'int main()': main.cpp:21:5: error: 'drmini' was not declared in this scope drmini[n-1] = n-1; ^~~~~~ main.cpp:13:19: warning: unused variable 'dr1' [-Wunused-variable] int n, r = 0, dr1 = -1, dr2 = -1; ^~~ main.cpp:13:29: warning: unused variable 'dr2' [-Wunused-variable] int n, r = 0, dr1 = -1, dr2 = -1; ^~~

Ceva nu functioneaza?