Problem | mining |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-19 21:01:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mining.cpp: In function ‘int mining(int, int, int, int, int)’:
mining.cpp:19:2: error: expected initializer before ‘priority_queue’
19 | priority_queue<pii, vector<pii>, greater<pii> > pq;
| ^~~~~~~~~~~~~~
mining.cpp:21:2: error: ‘pq’ was not declared in this scope
21 | pq.push(mp(0, mp(sk, mp(sy, sx))));
| ^~
mining.cpp:25:7: error: ‘visited’ was not declared in this scope
25 | if (visited[cy][cx][ck])continue;
| ^~~~~~~
mining.cpp:25:19: error: ‘cx’ was not declared in this scope; did you mean ‘cy’?
25 | if (visited[cy][cx][ck])continue;
| ^~
| cy
mining.cpp:25:23: error: ‘ck’ was not declared in this scope; did you mean ‘cy’?
25 | if (visited[cy][cx][ck])continue;
| ^~
| cy
mining.cpp:26:3: error: ‘visited’ was not declared in this scope
26 | visited[cy]