Problem duckhunt41
User JoshJuice
Submission Time 2025-12-26 09:11:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt41.cpp: In function ‘int main()’:
duckhunt41.cpp:17:20: error: ‘class std::queue<std::pair<int, int> >’ has no member named ‘top’; did you mean ‘pop’?
17 | auto [u, time] = q.top();
| ^~~
| pop