Problem | milkweed |
---|---|
User | Stucknight |
Submission Time | 2023-01-03 12:43:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
milkweed.cpp: In function ‘int main()’:
milkweed.cpp:20:14: error: ‘class std::queue<std::pair<std::pair<int, int>, int> >’ has no member named ‘top’; did you mean ‘pop’?
20 | int xx = q.top().first.first, yy = q.top().first.second, d = q.top().second;
| ^~~
| pop
milkweed.cpp:22:18: error: ‘d’ was not declared in this scope
22 | ans = max(ans, d);
| ^
milkweed.cpp:24:34: error: ‘yy’ was not declared in this scope; did you mean ‘ny’?
24 | int nx = xx + dir[i][0], ny = yy + dir[i][1];
| ^~
| ny