Problem milkweed
User StormyGood
Submission Time 2025-12-24 11:12:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

milkweed.cpp: In function ‘int bfs(int, int)’:
milkweed.cpp:15:22: error: ‘class std::stack<std::pair<int, int> >’ has no member named ‘front’
15 | int curx = q.front().first;
| ^~~~~
milkweed.cpp:16:22: error: ‘class std::stack<std::pair<int, int> >’ has no member named ‘front’
16 | int cury = q.front().second;
| ^~~~~