Borderou de evaluare (job #3194428)

Utilizator Radu_MocanasuMocanasu Radu Radu_Mocanasu Data 17 ianuarie 2024 23:24:18
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:18:12: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 18 | return poz; | ^~~ main.cpp:9:17: note: 'poz' was declared here 9 | int b = st, poz; | ^~~ main.cpp: In function 'int process(int)': main.cpp:27:11: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 27 | i = cb(j,n,c) + 1; | ~~^~~~~~~~~~~~~~~ main.cpp:9:17: note: 'poz' was declared here 9 | int b = st, poz; | ^~~ In function 'int cb(int, int, int)', inlined from 'int process(int)' at main.cpp:27:15: main.cpp:11:23: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 11 | int med = (st + dr) >> 1; | ~~~~^~~~~ main.cpp: In function 'int process(int)': main.cpp:9:17: note: 'poz' was declared here 9 | int b = st, poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
34ms557kbOK1010
47ms1081kbOK1010
514ms2351kbOK1010
619ms3100kbOK1010
719ms3104kbOK1030
824ms3862kbOK10
924ms3854kbOK10
100ms303kbOK1010
Punctaj total100

Ceva nu functioneaza?