Borderou de evaluare (job #1432087)

Utilizator Caplescu_Oana_323CCOana Caplescu Caplescu_Oana_323CC Data 9 mai 2015 11:46:26
Problema Secv1 Status done
Runda test_practic_pa_1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int isJustOne(int*, int, int)’: user.cpp:27:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (v[i] == 0) ^ user.cpp: In function ‘int cauta(int*, int, int)’: user.cpp:82:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (CautareBinara(v,start,end,0) == 1) ^ user.cpp:65:6: warning: unused variable ‘amSol’ [-Wunused-variable] int amSol = 0; ^ user.cpp:66:17: warning: unused variable ‘e’ [-Wunused-variable] int s = start, e = end; ^ user.cpp: In function ‘int secventaSumaMaxim(int*, int, int, int)’: user.cpp:119:16: error: ‘INT_MIN’ was not declared in this scope sumaStanga = INT_MIN, ^ user.cpp:133:14: error: ‘sumaDreapta’ was not declared in this scope if (suma > sumaDreapta) ^ user.cpp:137:22: error: ‘sumaDreapta’ was not declared in this scope return sumaStanga + sumaDreapta; ^ user.cpp:138:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?