Borderou de evaluare (job #2396976)

Utilizator KRAKEN01Sergiu Adrian KRAKEN01 Data 4 aprilie 2019 00:06:40
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:17:15: error: 'i' was not declared in this scope for(int j=G-g[i];j>=0;j++) ^ main.cpp:17:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j=G-g[i];j>=0;j++) ^~~ main.cpp:20:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' int tfisthishit=0; ^~~ Non zero exit status: 1

Ceva nu functioneaza?