Borderou de evaluare (job #3264778)

Utilizator RosheRadutu Robert Roshe Data 23 decembrie 2024 23:55:04
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void cautbin0(int)': main.cpp:14:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 14 | if(v[med] == x){ | ~~~~~~~^~~~ main.cpp:15:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 15 | while(v[med+1] == x) med++; | ~~~~~~~~~^~~~ main.cpp:19:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 19 | else if(v[med] < x) st = med + 1; | ~~~~~~~^~~ main.cpp: In function 'void cautbin1(int)': main.cpp:29:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 29 | if(v[med] == x){ | ~~~~~~~^~~~ main.cpp:30:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 30 | while(v[med+1] == x) med++; | ~~~~~~~~~^~~~ main.cpp:34:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 34 | else if(v[med] > x){ | ~~~~~~~^~~ main.cpp:37:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 37 | else if(v[med] < x) st = med+1; | ~~~~~~~^~~ main.cpp: In function 'void cautbin2(int)': main.cpp:45:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 45 | if(v[med] == x){ | ~~~~~~~^~~~ main.cpp:46:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 46 | while(v[med-1] == x) med--; | ~~~~~~~~~^~~~ main.cpp:50:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 50 | else if(v[med] > x){ | ~~~~~~~^~~ main.cpp:53:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | else if(v[med] < x) st = med+1; | ~~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
41ms303kbIncorect00
54ms303kbIncorect00
619ms655kbIncorect0
729ms876kbIncorect00
829ms872kbIncorect0
929ms872kbIncorect0
1029ms868kbIncorect0
Punctaj total0

Ceva nu functioneaza?