Borderou de evaluare (job #3136962)

Utilizator sebuxSebastian sebux Data 9 iunie 2023 17:01:52
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int CB0(int, int, int)': main.cpp:26:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 26 | if(v[mij] == x) { | ~~~~~~~^~~~ main.cpp:32:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 32 | if(x < v[mij]){ | ~~^~~~~~~~ main.cpp: In function 'int CB1(int, int, int)': main.cpp:44:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 44 | if(v[n] < x) return n; | ~~~~~^~~ main.cpp:47:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 47 | if(v[mij] == x) { | ~~~~~~~^~~~ main.cpp:53:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | if(x < v[mij]){ | ~~^~~~~~~~ main.cpp:60:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 60 | if(x > v[st]){ | ~~^~~~~~~ main.cpp: In function 'int CB2(int, int, int)': main.cpp:70:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 70 | if(v[mij] == x) { | ~~~~~~~^~~~ main.cpp:76:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 76 | if(x < v[mij]){ | ~~^~~~~~~~ main.cpp:83:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 83 | if(x < v[st]){ | ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
30ms303kbOK1010
41ms303kbOK1010
54ms303kbOK1020
614ms765kbOK10
724ms1118kbOK1040
824ms1130kbOK10
924ms1110kbOK10
1029ms1196kbOK10
Punctaj total100

Ceva nu functioneaza?