With the following test input:
sample.in
1
4 4 2
1 2 1 1
2 0 1
3 0 2 3
representing this graph:
[1 c=2]
|
[Pyke c=1] — [2 c=1] — [3 c=1]
where the correct and only solution is the path [1] — [Pyke] — [2] with cost 2+1+1:
sample.out
iron_islands/solution.cpp outputs 0, but it should output 3.
With the following test input:
sample.inrepresenting this graph:
where the correct and only solution is the path
[1] — [Pyke] — [2]with cost2+1+1:sample.outiron_islands/solution.cppoutputs0, but it should output3.