Pagini recente » Borderou de evaluare (job #1872083) | Borderou de evaluare (job #3345591) | Borderou de evaluare (job #3319651) | Borderou de evaluare (job #3316106) | Borderou de evaluare (job #3315122)
Borderou de evaluare (job #3315122)
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:29:10:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'ansj' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:17:54: note: 'ansj' was declared here
17 | long long maxi = -9223372036854775807, ansi, ansj, mini = 0, j;
| ^~~~
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:29:25:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'ansi' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:17:48: note: 'ansi' was declared here
17 | long long maxi = -9223372036854775807, ansi, ansj, mini = 0, j;
| ^~~~
main.cpp:20:46: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
20 | if (maxi < sp[i] - mini && i - j >= k) {
| ~~^~~
main.cpp:17:70: note: 'j' was declared here
17 | long long maxi = -9223372036854775807, ansi, ansj, mini = 0, j;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 19ms | 48279kb | Wrong answer! | 0 |
| 2 | 19ms | 48455kb | Wrong answer! | 0 |
| 3 | 17ms | 47407kb | Wrong answer! | 0 |
| 4 | 19ms | 48410kb | Wrong answer! | 0 |
| 5 | 19ms | 48250kb | OK! | 10 |
| 6 | 19ms | 48304kb | OK! | 10 |
| 7 | 19ms | 48377kb | OK! | 10 |
| 8 | 19ms | 48320kb | OK! | 10 |
| 9 | 19ms | 48467kb | Wrong answer! | 0 |
| 10 | 19ms | 48386kb | Wrong answer! | 0 |
| Punctaj total | 40 |