Problem milkweed
User justin271828
Submission Time 2024-06-20 11:27:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

milkweed.cpp: In function ‘int main()’:
milkweed.cpp:18:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
18 | ans = 0;
| ^~~
| abs
milkweed.cpp:23:10: error: ‘q’ was not declared in this scope; did you mean ‘qy’?
23 | while (!q.empty()) {
| ^
| qy
milkweed.cpp:26:5: error: ‘tempx’ was not declared in this scope
26 | tempx = qx.front() + dir[i];
| ^~~~~
milkweed.cpp:27:5: error: ‘tempy’ was not declared in this scope; did you mean ‘memcpy’?
27 | tempy = qy.front() + dir[j];
| ^~~~~
| memcpy