Borderou de evaluare (job #3194429)

Utilizator Radu_MocanasuMocanasu Radu Radu_Mocanasu Data 17 ianuarie 2024 23:24:58
Problema Orase1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int cb(int, int, int)': main.cpp:19:12: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 19 | return poz; | ^~~ main.cpp:10:17: note: 'poz' was declared here 10 | int b = st, poz; | ^~~ main.cpp: In function 'int process(int)': main.cpp:28:11: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 28 | i = cb(j,n,c) + 1; | ~~^~~~~~~~~~~~~~~ main.cpp:10:17: note: 'poz' was declared here 10 | int b = st, poz; | ^~~ In function 'int cb(int, int, int)', inlined from 'int process(int)' at main.cpp:28:15: main.cpp:12:23: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 12 | int med = (st + dr) >> 1; | ~~~~^~~~~ main.cpp: In function 'int process(int)': main.cpp:10:17: note: 'poz' was declared here 10 | int b = st, poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
34ms557kbOK1010
44ms819kbOK1010
514ms2342kbOK1010
619ms3076kbOK1010
719ms3080kbOK1030
824ms3833kbOK10
928ms4194kbOK10
100ms303kbOK1010
Punctaj total100

Ceva nu functioneaza?