Problem | wormholes |
---|---|
User | isaackhong |
Submission Time | 2023-04-30 17:00:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wormholes.cpp: In function ‘int main()’:
wormholes.cpp:51:21: error: ‘ii’ {aka ‘struct std::pair<int, int>’} has no member named ‘finode’
51 | int dist = -cur.finode = cur.se;
| ^~~~~~
wormholes.cpp:52:9: error: ‘node’ was not declared in this scope
52 | if (node == n - 1) {
| ^~~~
wormholes.cpp:56:27: error: ‘node’ was not declared in this scope
56 | q.push(mpr(-dist - 1, node + 1));
| ^~~~