Notes
This function is in beta test. Please help improve it in the issues
here.
Traceback (most recent call last): File "Dijkstra.py", line 224, in <module> fibheap.decrease_key(u, tmp) File "Dijkstra.py", line 150, in decrease_key self.cut(node, y) File "Dijkstra.py", line 159, in cut y.remove_child(node) File "Dijkstra.py", line 27, in remove_child raise ValueError('Child list is empty') ValueError: Child list is empty
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
['0', '113', '128', '84', '52', '33', '1']