Borderou de evaluare (job #2912152)

Utilizator daristyleBejan Darius-Ramon daristyle Data 7 iulie 2022 01:53:58
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 31 | if (v[mid] > x) ls = mid; | ~~~~~~~^~~ main.cpp:35:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 35 | if (v[li] == x) ans = li; | ~~~~~~^~~~ main.cpp:48:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 48 | if (v[mid] > x) ls = mid; | ~~~~~~~^~~ main.cpp:65:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 65 | if (v[mid] < x) li = mid; | ~~~~~~~^~~ main.cpp:18:26: warning: unused variable 'pos' [-Wunused-variable] 18 | int q, ans = -2, pos = 0; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms184kbOK1010
21ms184kbOK1010
33ms184kbOK1010
41ms184kbOK1010
530ms405kbOK1020
6120ms729kbOK10
7164ms1069kbIncorect00
8125ms1159kbIncorect0
998ms1085kbIncorect0
10128ms1130kbIncorect0
Punctaj total60

Ceva nu functioneaza?