Pagini recente » Borderou de evaluare (job #3326733) | Borderou de evaluare (job #3329861) | Borderou de evaluare (job #2977841) | Borderou de evaluare (job #445025) | Borderou de evaluare (job #3280870)
Borderou de evaluare (job #3280870)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:59: warning: ignoring return value of 'std::deque<_Tp, _Alloc>::reference std::deque<_Tp, _Alloc>::front() [with _Tp = long long int; _Alloc = std::allocator<long long int>; reference = long long int&]', declared with attribute 'nodiscard' [-Wunused-result]
35 | if (!dq2.empty() && i - dq1.front() > k) dq1.front();
| ~~~~~~~~~^~
In file included from /usr/include/c++/12.2.1/deque:64,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:68,
from main.cpp:1:
/usr/include/c++/12.2.1/bits/stl_deque.h:1444:7: note: declared here
1444 | front() _GLIBCXX_NOEXCEPT
| ^~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 1ms | 557kb | OK | 10 |
| 4 | 1ms | 557kb | OK | 10 |
| 5 | 2ms | 819kb | Incorect | 0 |
| 6 | 3ms | 1081kb | OK | 10 |
| 7 | 4ms | 1605kb | OK | 10 |
| 8 | 3ms | 819kb | OK | 10 |
| 9 | 5ms | 1867kb | OK | 10 |
| 10 | 4ms | 978kb | Incorect | 0 |
| Punctaj total | 70 |