Borderou de evaluare (job #2478847)

Utilizator Codrut112Codrut Copas Codrut112 Data 22 octombrie 2019 20:00:37
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:58:3: error: 'm' was not declared in this scope m=n; ^ main.cpp:59:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(q[m]!=lungmax) m--;w[lungmax]=v[m];lung--; ^~~~~ main.cpp:59:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(q[m]!=lungmax) m--;w[lungmax]=v[m];lung--; ^ main.cpp:66:1: error: expected primary-expression before '}' token } ^ Non zero exit status: 1

Ceva nu functioneaza?