Borderou de evaluare (job #647156)

Utilizator avatar Horia_haivas Haivas Horia Horia_haivas IP ascuns
Problemă Maxarea Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 apr. 2022 18:43:02 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:17:26: error: redefinition of 'short int stiva [1000001]' 17 | short int stiva[1000001],stiva[1000001]; | ^~~~~ main.cpp:17:11: note: 'short int stiva [1000001]' previously declared here 17 | short int stiva[1000001],stiva[1000001]; | ^~~~~ main.cpp: In function 'int main()': main.cpp:29:16: error: 'v' was not declared in this scope 29 | fin >> v[i]; | ^ main.cpp:53:13: error: 'v' was not declared in this scope 53 | if (v[i]>=stiva[k]) | ^ main.cpp:77:22: error: 'v' was not declared in this scope 77 | spatiu=n*v[i]; | ^ main.cpp:79:31: error: 'v' was not declared in this scope 79 | spatiu=(n-vst[i])*v[i]; | ^ main.cpp:84:31: error: 'v' was not declared in this scope 84 | spatiu=vdr[i]*v[i]; | ^ main.cpp:86:42: error: 'v' was not declared in this scope 86 | spatiu=(vdr[i]-vst[i]-1)*v[i]; | ^