Pagini recente » Borderou de evaluare (job #1875991) | Borderou de evaluare (job #2468767) | Borderou de evaluare (job #2113724) | Borderou de evaluare (job #3348695) | Borderou de evaluare (job #3305165)
Borderou de evaluare (job #3305165)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:47:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | fx[i][j] = max(fx[i][j - 1], fx[i + LS(j - 1)][j - 1]);
| ~~^~~
main.cpp:7:23: note: in definition of macro 'LS'
7 | #define LS(x) (1LL << x)
| ^
main.cpp:48:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
48 | fn[i][j] = min(fn[i][j - 1], fn[i + LS(j - 1)][j - 1]);
| ~~^~~
main.cpp:7:23: note: in definition of macro 'LS'
7 | #define LS(x) (1LL << x)
| ^
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:65:43:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'savR' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:52:24: note: 'savR' was declared here
52 | ll sav_ = 0, savL, savR;
| ^~~~
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:65:28:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'savL' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:52:18: note: 'savL' was declared here
52 | ll sav_ = 0, savL, savR;
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 819kb | OK | 10 |
| 2 | 5ms | 3964kb | OK | 10 |
| 3 | 9ms | 6336kb | OK | 10 |
| 4 | 24ms | 14516kb | OK | 10 |
| 5 | 132ms | 20975kb | Memory limit exceeded | 0 |
| 6 | 144ms | 21041kb | Memory limit exceeded | 0 |
| 7 | 154ms | 20959kb | Memory limit exceeded | 0 |
| 8 | 174ms | 21024kb | Memory limit exceeded | 0 |
| 9 | 183ms | 20881kb | Memory limit exceeded | 0 |
| 10 | 192ms | 21028kb | Memory limit exceeded | 0 |
| Punctaj total | 40 |