Borderou de evaluare (job #2907928)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:66: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
22 | while (!dq.empty() and v[dq.back()] < v[i] and dq.size() >= k)
| ~~~~~~~~~~^~~~
main.cpp:25:23: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
25 | if (dq.size() >= k)
| ~~~~~~~~~~^~~~
main.cpp:35:32: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
35 | cout << st << ' ' << dr << " " << ans;
| ^~~
main.cpp:35:19: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
35 | cout << st << ' ' << dr << " " << ans;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Incorect | 0 |
2 | 5ms | 331kb | Incorect | 0 |
3 | 13ms | 438kb | Incorect | 0 |
4 | 21ms | 495kb | Incorect | 0 |
5 | 23ms | 643kb | Incorect | 0 |
6 | 41ms | 835kb | Incorect | 0 |
7 | 47ms | 1359kb | Incorect | 0 |
8 | 68ms | 2256kb | Incorect | 0 |
9 | 105ms | 2633kb | Time limit exceeded | 0 |
10 | 104ms | 2793kb | Time limit exceeded | 0 |
Punctaj total | 0 |