Borderou de evaluare (job #2311020)

Utilizator diaconudanielaDiaconu Daniela diaconudaniela Data 2 ianuarie 2019 15:29:47
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:17: error: 'INT_MAX' was not declared in this scope d[0][j]=INT_MAX; ^~~~~~~ main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0; j<G; j++) ^~~ main.cpp:18:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' d[0][0]=0; ^ main.cpp:30:14: error: 'INT_MIN' was not declared in this scope int maxi=INT_MIN; ^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?