Problem milkweed
User blob
Submission Time 2023-12-27 14:50: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:18:3: error: ‘dix’ was not declared in this scope; did you mean ‘dis’?
18 | dix[startx][starty] = 0;
| ^~~
| dis
milkweed.cpp:20:29: error: expected primary-expression before ‘,’ token
20 | int x = q.front().first;, y = q.front().second; //current cordinates
| ^
milkweed.cpp:20:31: error: ‘y’ was not declared in this scope
20 | int x = q.front().first;, y = q.front().second; //current cordinates
| ^
milkweed.cpp:22:34: error: expected primary-expression before ‘)’ token
22 | for (int dx = 1; dx<= 1; dx+=){
| ^
milkwee