Borderou de evaluare (job #3194427)

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

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; | ^~~ main.cpp: In function 'void bin_src()': main.cpp:43:27: warning: 'T' may be used uninitialized [-Wmaybe-uninitialized] 43 | fout << poz << " " << T; | ^ main.cpp:32:41: note: 'T' was declared here 32 | int st = 1, dr = 2 * 1e2, med, poz, T; | ^ main.cpp:43:20: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 43 | fout << poz << " " << T; | ^~~ main.cpp:32:36: note: 'poz' was declared here 32 | int st = 1, dr = 2 * 1e2, med, poz, T; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
33ms557kbIncorect00
46ms1081kbIncorect00
513ms2318kbIncorect00
614ms2371kbIncorect00
719ms3055kbIncorect00
824ms3846kbIncorect0
924ms3850kbIncorect0
100ms303kbOK1010
Punctaj total30

Ceva nu functioneaza?