Problem tourist
User Yinnotayl64
Submission Time 2026-11-11 14:28:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tourist.cpp: In function ‘int main()’:
tourist.cpp:15:17: error: ‘K’ was not declared in this scope
15 | if (i > K) continue;
| ^
tourist.cpp:18:28: error: ‘K’ was not declared in this scope
18 | while (pq.size() > K - i) {
| ^