Borderou de evaluare (job #789766)

Utilizator avatar andrei_n Andrei Nicolae andrei_n IP ascuns
Problemă Căutare binară Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 oct. 2024 09:08:39 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:71:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 71 | if (c == 0) | ^ main.cpp: In function 'bool binary(int, int, int)': main.cpp:22:11: warning: control reaches end of non-void function [-Wreturn-type] 22 | binary(val, left, right); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int upper_binary(int, int, int)': main.cpp:41:11: warning: control reaches end of non-void function [-Wreturn-type] 41 | binary(val, left, right); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int lower_binary(int, int, int)': main.cpp:59:11: warning: control reaches end of non-void function [-Wreturn-type] 59 | binary(val, left, right); | ~~~~~~^~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 358 ms 249 kb Time limit exceeded 0
2 359 ms 249 kb Time limit exceeded 0
3 359 ms 512 kb Time limit exceeded 0
4 359 ms 249 kb Time limit exceeded 0
5 359 ms 270 kb Time limit exceeded 0
6 359 ms 512 kb Time limit exceeded 0
7 359 ms 507 kb Time limit exceeded 0
8 359 ms 507 kb Time limit exceeded 0
9 359 ms 507 kb Time limit exceeded 0
10 359 ms 507 kb Time limit exceeded 0
Punctaj total 0