Borderou de evaluare (job #2376198)

Utilizator blackbear26Denisa Lepadatu blackbear26 Data 8 martie 2019 14:05:51
Problema Dezastru Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int valid(int)': main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=1;i<k;i++) if(stiva[i]==stiva[k]) return 0; return 1; ^~~ main.cpp:16:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(int i=1;i<k;i++) if(stiva[i]==stiva[k]) return 0; return 1; ^~~~~~ main.cpp: In function 'void bt(int)': main.cpp:23:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(valid(k)==1) ^ main.cpp: In function 'int factorial(int)': main.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit !0
22ms131kbRaspuns gresit !0
32ms131kbRaspuns gresit !0
4101ms131kbTime limit exceeded0
5101ms131kbTime limit exceeded0
62ms131kbRaspuns gresit !0
72ms131kbRaspuns gresit !0
8102ms131kbTime limit exceeded0
9100ms131kbTime limit exceeded0
10101ms131kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?