Problem | toxicwaste |
---|---|
User | Pan |
Submission Time | 2024-09-20 20:45:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
toxicwaste.cpp: In function ‘int main()’:
toxicwaste.cpp:66:8: error: ‘dpx’ was not declared in this scope
66 | if (dpx[i-1][j] == -1) dpx[i][j] = lab1++;
| ^~~
toxicwaste.cpp:66:39: error: ‘lab1’ was not declared in this scope; did you mean ‘labs’?
66 | if (dpx[i-1][j] == -1) dpx[i][j] = lab1++;
| ^~~~
| labs
toxicwaste.cpp:68:8: error: ‘dpy’ was not declared in this scope
68 | if (dpy[i][j-1] == -1) dpy[i][j] = lab2++;
| ^~~
toxicwaste.cpp:68:39: error: ‘lab2’ was not declared in this scope; did you mean ‘labs’?
68 | if (dpy[i][j-1] == -1) dpy[i][j] = lab2++;
| ^~~~
| labs
toxicwaste.cpp:70:8: error: ‘dpx’ was not declared in this scope
70 | adj[dpx[i][j]].pb(dpy[i][j]);
| ^~~
toxicwaste.cp