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

Compile Error

tourist.cpp: In function ‘int main()’:
tourist.cpp:6:28: error: expected ‘;’ before ‘cin’
6 | ios::sync_with_stdio(0) cin.tie(0); cout.tie(0);
| ^~~~
| ;
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) {
| ^