Problem | reopening |
---|---|
User | LCJLY |
Submission Time | 2022-12-28 16:59:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reopening.cpp: In function ‘int32_t main()’:
reopening.cpp:81:13: error: ‘q’ was not declared in this scope; did you mean ‘pq’?
81 | while (!q.empty()) {
| ^
| pq
reopening.cpp:87:25: error: request for member ‘first’ in ‘it’, which is of non-class type ‘long long int’
87 | int nx = it.first, nd = d+1;
| ^~~~~
reopening.cpp:88:47: error: ‘nd’ was not declared in this scope; did you mean ‘nx’?
88 | if (dist[nx] != -1 && dist[nx] <= nd) continue;
| ^~
| nx
reopening.cpp:89:24: error: ‘nd’ was not declared in this scope; did you mean ‘nx’?
89 | dist[nx] = nd;
| ^~
| nx
reopening.cpp:97:16: error: no match for ‘operator[]’ (operand types are ‘long long int [(a + 1)