Borderou de evaluare (job #2254468)

Utilizator BGondaGonda George Luis Bogdan BGonda Data 5 octombrie 2018 14:15:02
Problema Energii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:23:11: warning: unused variable ‘mi’ [-Wunused-variable] int mi=inf + 1; ^~ user.cpp:25:6: error: ‘mi’ was not declared in this scope if(mi>v[i]) ^~ user.cpp:27:6: error: ‘mi’ was not declared in this scope if(mi==inf) ^~ user.cpp:29:3: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] else ^~~~ user.cpp:31:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’ return 0; ^~~~~~

Ceva nu functioneaza?