Borderou de evaluare (job #3284537)

Utilizator Andrei1209Andrei Mircea Andrei1209 Data 11 martie 2025 20:11:37
Problema Split Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:45:12: warning: unused variable 'j' [-Wunused-variable] 45 | int i, j; | ^ main.cpp: In function 'std::pair<int, int> solve(int, int)': main.cpp:40:24: warning: 'split' may be used uninitialized [-Wmaybe-uninitialized] 40 | return {split, smax}; | ^ main.cpp:30:9: note: 'split' was declared here 30 | int split, smax = -INF; | ^~~~~ main.cpp: In function 'int main()': main.cpp:99:58: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 99 | fout << rasp << '\n' << a << " " << b << " " << c << '\n'; | ^~~~ main.cpp:53:28: note: 'c' was declared here 53 | int rasp = -INF, a, b, c; | ^ main.cpp:99:46: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 99 | fout << rasp << '\n' << a << " " << b << " " << c << '\n'; | ^~~ main.cpp:53:25: note: 'b' was declared here 53 | int rasp = -INF, a, b, c; | ^ main.cpp:99:34: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 99 | fout << rasp << '\n' << a << " " << b << " " << c << '\n'; | ^~~ main.cpp:53:22: note: 'a' was declared here 53 | int rasp = -INF, a, b, c; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbIncorect0
50ms303kbIncorect0
619ms303kbOK10
734ms303kbOK10
849ms303kbOK10
954ms303kbOK10
1054ms303kbOK10
Punctaj total80

Ceva nu functioneaza?