Borderou de evaluare (job #3279270)

Utilizator mlupseLupse-Turpan Mircea mlupse Data 22 februarie 2025 12:51:01
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int BinarySearch1(int)': main.cpp:43:12: warning: 'Sol' may be used uninitialized [-Wmaybe-uninitialized] 43 | return Sol; | ^~~ main.cpp:30:9: note: 'Sol' was declared here 30 | int Sol; | ^~~ main.cpp: In function 'int BinarySearch2(int)': main.cpp:60:12: warning: 'Sol' may be used uninitialized [-Wmaybe-uninitialized] 60 | return Sol; | ^~~ main.cpp:47:9: note: 'Sol' was declared here 47 | int Sol; | ^~~ main.cpp: In function 'int main()': main.cpp:79:39: warning: 'Sol' may be used uninitialized [-Wmaybe-uninitialized] 79 | fout << BinarySearch2(x)<<"\n"; | ^~~~ main.cpp:47:9: note: 'Sol' was declared here 47 | int Sol; | ^~~ main.cpp:77:39: warning: 'Sol' may be used uninitialized [-Wmaybe-uninitialized] 77 | fout << BinarySearch1(x)<<"\n"; | ^~~~ main.cpp:30:9: note: 'Sol' was declared here 30 | int Sol; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
30ms303kbOK1010
41ms303kbOK1010
55ms557kbOK1020
614ms774kbOK10
724ms1146kbOK1040
824ms1130kbOK10
924ms1118kbOK10
1024ms1110kbOK10
Punctaj total100

Ceva nu functioneaza?