Borderou de evaluare (job #670700)

Utilizator avatar TheAndrei Enache Andrei Alexandru TheAndrei IP ascuns
Problemă Rotate Search (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 oct. 2022 09:31:37 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int bsearch(int, int, int)': main.cpp:17:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 17 | if(v[mijloc]==x){ | ~~~~~~~~~^~~ main.cpp:21:24: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 21 | if ( v[mijloc] > x ) | ~~~~~~~~~~^~~ main.cpp:26:9: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 26 | if(x==v[stanga]||x==v[dreapta]){ | ~^~~~~~~~~~~ main.cpp:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 26 | if(x==v[stanga]||x==v[dreapta]){ | ~^~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 118 kb OK 10
6 1 ms 118 kb OK 10
7 7 ms 249 kb OK 10
8 16 ms 245 kb OK 10
9 27 ms 372 kb OK 10
10 24 ms 368 kb OK 10
Punctaj total 100