Problem bosses
User haydendoo
Submission Time 2022-12-29 13:02:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bosses.cpp: In function ‘long long int dfs(long long int)’:
bosses.cpp:191:21: error: ‘class std::queue<std::pair<long long int, long long int> >’ has no member named ‘top’; did you mean ‘pop’?
191 | auto [chi, d] = q.top(); q.pop();
| ^~~
| pop