Problem milkweed
User blob
Submission Time 2023-12-27 14:59:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

milkweed.cpp: In function ‘int main()’:
milkweed.cpp:12:21: error: expected ‘;’ before ‘cin’
12 | dis[i][j] = -1
| ^
| ;
13 | cin >> arr[i][j];
| ~~~
milkweed.cpp:22:35: error: expected primary-expression before ‘)’ token
22 | for (int dx = -1; dx<= 1; dx+=){
| ^
milkweed.cpp:26:42: error: expected primary-expression before ‘]’ token
26 | if (arr[nx][ny] == '*') continue;])
| ^