Borderou de evaluare (job #3239487)

Utilizator Victor321321Victor Casandra Victor321321 Data 5 august 2024 20:35:12
Problema Secventa 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: In file included from /usr/include/c++/12.2.1/istream:39, from /usr/include/c++/12.2.1/sstream:38, from /usr/include/c++/12.2.1/complex:45, from /usr/include/c++/12.2.1/ccomplex:39, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54, 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:23:20: /usr/include/c++/12.2.1/ostream:202:25: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:12:19: note: 'dr' was declared here 12 | long long st, dr, Smax=-2000000000, S=-1, sttemp, i; | ^~ 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:23:11: /usr/include/c++/12.2.1/ostream:202:25: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:12:15: note: 'st' was declared here 12 | long long st, dr, Smax=-2000000000, S=-1, sttemp, i; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbWrong answer!0
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
50ms303kbOK!10
61ms303kbOK!10
71ms303kbOK!10
81ms303kbOK!10
92ms303kbOK!10
102ms303kbOK!10
Punctaj total90

Ceva nu functioneaza?