Borderou de evaluare (job #2973707)

Utilizator NuSuntRomanIspir Alexandru NuSuntRoman Data 1 februarie 2023 18:19:06
Problema Jolteon Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cb(int)': main.cpp:28:12: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] 28 | return pos; | ^~~ main.cpp:18:20: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] 18 | mid = ((li + ls) >> 1); | ~~~~^~~~~ main.cpp:18:20: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] main.cpp: In function 'void norm()': main.cpp:38:14: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] 38 | v[i] = cb(v[i]); | ~~~~~^~~~~~~~~~ main.cpp:18:20: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] 18 | mid = ((li + ls) >> 1); | ~~~~^~~~~ main.cpp:15:13: note: 'ls' was declared here 15 | int li, ls, mid, pos; | ^~ main.cpp:18:20: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] 18 | mid = ((li + ls) >> 1); | ~~~~^~~~~ main.cpp:15:9: note: 'li' was declared here 15 | int li, ls, mid, pos; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
20ms184kbIncorect0
38000ms1466kbTime limit exceeded0
48000ms1466kbTime limit exceeded0
58005ms1466kbTime limit exceeded0
68005ms1466kbTime limit exceeded0
78004ms1466kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?