Borderou de evaluare (job #3284538)

Utilizator Andrei1209Andrei Mircea Andrei1209 Data 11 martie 2025 20:13:04
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:18: warning: unused variable 'j' [-Wunused-variable] 45 | long long i, j; | ^ main.cpp: In function 'std::pair<long long int, long long int> solve(long long int, long long int)': main.cpp:40:24: warning: 'split' may be used uninitialized [-Wmaybe-uninitialized] 40 | return {split, smax}; | ^ main.cpp:30:15: note: 'split' was declared here 30 | long long split, smax = -INF; | ^~~~~ In file included from /usr/include/c++/12.2.1/istream:39, from /usr/include/c++/12.2.1/fstream:38, from main.cpp:1: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:99:53: /usr/include/c++/12.2.1/ostream:202:25: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:53:34: note: 'c' was declared here 53 | long long rasp = -INF, a, b, c; | ^ In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:99:41: /usr/include/c++/12.2.1/ostream:202:25: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:53:31: note: 'b' was declared here 53 | long long rasp = -INF, a, b, c; | ^ In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:99:29: /usr/include/c++/12.2.1/ostream:202:25: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:53:28: note: 'a' was declared here 53 | long long rasp = -INF, a, b, c; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbIncorect0
50ms303kbIncorect0
618ms303kbOK10
739ms303kbOK10
853ms303kbOK10
957ms303kbOK10
1059ms303kbOK10
Punctaj total80

Ceva nu functioneaza?