Borderou de evaluare (job #647177)

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 20:21:15 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:1: error: expected initializer before 'int' 18 | int stiva[1000001]; | ^~~ main.cpp: In function 'int main()': main.cpp:30:16: error: 'v' was not declared in this scope 30 | fin >> v[i]; | ^ main.cpp:32:21: error: 'stiva' was not declared in this scope 32 | if (v[i]>=v[stiva[k]]) | ^~~~~ main.cpp:52:13: error: 'v' was not declared in this scope 52 | if (v[i]>=v[stiva[k]]) | ^ main.cpp:52:21: error: 'stiva' was not declared in this scope 52 | if (v[i]>=v[stiva[k]]) | ^~~~~ main.cpp:74:22: error: 'v' was not declared in this scope 74 | spatiu=n*v[i]; | ^ main.cpp:76:31: error: 'v' was not declared in this scope 76 | spatiu=(n-vst[i])*v[i]; | ^ main.cpp:81:35: error: 'v' was not declared in this scope 81 | spatiu=(vdr[i]-1)*v[i]; | ^ main.cpp:83:42: error: 'v' was not declared in this scope 83 | spatiu=(vdr[i]-vst[i]-1)*v[i]; | ^