Problem milkweed
User ARock
Submission Time 2023-09-04 14:13:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

milkweed.cpp: In function ‘void spread(int, int)’:
milkweed.cpp:2:5: error: ‘q’ was not declared in this scope
2 | q.push(make_pair(make_pair(row, col), 0));
| ^
milkweed.cpp:2:22: error: ‘make_pair’ was not declared in this scope
2 | q.push(make_pair(make_pair(row, col), 0));
| ^~~~~~~~~
milkweed.cpp:2:12: error: ‘make_pair’ was not declared in this scope
2 | q.push(make_pair(make_pair(row, col), 0));
| ^~~~~~~~~
milkweed.cpp:8:13: error: ‘matrix’ was not declared in this scope
8 | if (matrix[r][c] == '.') {
| ^~~~~~
milkweed.cpp:8:20: error: ‘r’ was not declared in this scope
8 | if (matrix[r][c] == '.') {
| ^
milkweed.cpp:8:23: error: ‘c’ was not declared in this scope
8 | if (matrix[r][c] == '.') {
| ^
milkweed.cpp:9:13: error: ‘weeks’ was not