Borderou de evaluare (job #3342748)

Utilizator John_PorkJohn Wick John_Pork Data 25 februarie 2026 16:08:24
Problema Transport Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int okish(int)': main.cpp:17:12: error: 'suma' was not declared in this scope; did you mean 'sum1'? 17 | if(suma+nr[i]>c){ | ^~~~ | sum1 main.cpp:19:18: error: 'v' was not declared in this scope 19 | suma=v[i]; | ^ main.cpp:22:19: error: 'v' was not declared in this scope 22 | suma+=v[i]; | ^ main.cpp:11:19: warning: unused variable 'sum1' [-Wunused-variable] 11 | int i=1, m=1, sum1=0; | ^~~~ main.cpp: In function 'int main()': main.cpp:46:14: error: 'v' was not declared in this scope 46 | fin>>v[i]; | ^ Non zero exit status: 1

Ceva nu functioneaza?