Borderou de evaluare (job #3143588)

Utilizator pulaluca vraja pula Data 31 iulie 2023 17:24:41
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int cb1(int)': main.cpp:46:12: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized] 46 | return sol ; | ^~~ main.cpp:35:19: note: 'sol' was declared here 35 | int s=1, d=N, sol, m=(s+d)/2; | ^~~ main.cpp: In function 'int cb2(int)': main.cpp:61:12: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized] 61 | return sol ; | ^~~ main.cpp:50:19: note: 'sol' was declared here 50 | int s=1, d=N, sol, m=(s+d)/2; | ^~~ main.cpp: In function 'int main()': main.cpp:79:26: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized] 79 | cout << cb2(n) ; | ^ main.cpp:50:19: note: 'sol' was declared here 50 | int s=1, d=N, sol, m=(s+d)/2; | ^~~ main.cpp:77:26: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized] 77 | cout << cb1(n) ; | ^ main.cpp:35:19: note: 'sol' was declared here 35 | int s=1, d=N, sol, m=(s+d)/2; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
30ms303kbOK1010
41ms303kbOK1010
55ms557kbOK1020
614ms778kbOK10
724ms1150kbOK1040
824ms1138kbOK10
924ms1122kbOK10
1024ms1114kbOK10
Punctaj total100

Ceva nu functioneaza?