Borderou de evaluare (job #3137132)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:26: warning: comparison of integer expressions of different signedness: 'std::priority_queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
30 | if (shows.size() == k && -shows.top() <= v[i].first) shows.pop(), ok = true;
| ~~~~~~~~~~~~~^~~~
main.cpp:31:31: warning: comparison of integer expressions of different signedness: 'std::priority_queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
31 | else if (shows.size() < k) ok = true;
| ~~~~~~~~~~~~~^~~
main.cpp:20:15: warning: unused variable 'occupied' [-Wunused-variable]
20 | int n, k, occupied = 0, cnt = 0;
| ^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 1ms | 303kb | Incorect | 0 |
4 | 14ms | 1175kb | Incorect | 0 |
5 | 19ms | 1228kb | Incorect | 0 |
6 | 19ms | 1236kb | Incorect | 0 |
7 | 19ms | 1228kb | Incorect | 0 |
8 | 19ms | 1232kb | Incorect | 0 |
9 | 19ms | 1232kb | Incorect | 0 |
10 | 19ms | 1232kb | Incorect | 0 |
Punctaj total | 0 |