Borderou de evaluare (job #617867)

Utilizator avatar kylobit Mocanu Bogdan kylobit IP ascuns
Problemă Căutare binară Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 24 nov. 2021 15:18:06 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:37: warning: statement has no effect [-Wunused-value] 29 | for(index; index<n; index++){ | ^~~~~ main.cpp:36:37: warning: statement has no effect [-Wunused-value] 36 | for(index; index<n; index++){ | ^~~~~ main.cpp:43:37: warning: statement has no effect [-Wunused-value] 43 | for(index; index<n; index--){ | ^~~~~ main.cpp: In function 'int binarySearch(int*, int, int, int)': main.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type] 13 | } | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 29 ms 258 kb Incorect 0
6 97 ms 393 kb Incorect 0
7 154 ms 651 kb Incorect 0
8 156 ms 655 kb Incorect 0
9 163 ms 655 kb Incorect 0
10 163 ms 655 kb Incorect 0
Punctaj total 0