mushrooms.cpp: In function 'int main()':
mushrooms.cpp:10:5: error: expected ',' or ';' before 'vector'
10 | vector<pair<int, int>> splinter;
| ^~~~~~
mushrooms.cpp:18:17: error: 'splinter' was not declared in this scope
18 | splinter.pb({i, j});
| ^~~~~~~~
mushrooms.cpp:26:25: error: 'splinter' was not declared in this scope
26 | for (int z = 0; z < splinter.size(); z ++) {
| ^~~~~~~~
mushrooms.cpp:30:32: error: 'y' was not declared in this scope
30 | int first_col = min(0, y-D), last_col = max(C-1, y+D);
| ^
mushrooms.cpp:33:26: error: 'firt_col' was not declared in this scope; did you mean 'first_col'?
33 | for (int j = firt_col; j <= lasr_col; j ++) {
| ^~~~~~~~
| first_col
mushrooms.cpp:33:41: error: 'lasr_col' was not declared in this scope
33 | for (int j = firt_col; j <= lasr_col; j ++) {
| ^~~~~~~~