Borderou de evaluare (job #3314386)

Utilizator Belea_DariusBelea Mihai Darius Belea_Darius Data 9 octombrie 2025 21:57:34
Problema Bere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int caut_bin(int, int, int)': main.cpp:26:15: warning: 'rez' may be used uninitialized [-Wmaybe-uninitialized] 26 | rez = rez - k + 1; | ~~~~^~~ main.cpp:11:22: note: 'rez' was declared here 11 | int st, dr, mij, rez; | ^~~ In function 'int caut_bin(int, int, int)', inlined from 'int main()' at main.cpp:57:38: main.cpp:26:15: warning: 'rez' may be used uninitialized [-Wmaybe-uninitialized] 26 | rez = rez - k + 1; | ~~~~^~~ main.cpp: In function 'int main()': main.cpp:11:22: note: 'rez' was declared here 11 | int st, dr, mij, rez; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
21ms303kbOK10
31ms303kbIncorect0
42ms303kbIncorect0
52ms303kbIncorect0
62ms303kbOK10
72ms557kbOK10
83ms561kbIncorect0
93ms557kbOK10
103ms557kbOK10
Punctaj total50

Ceva nu functioneaza?