Skip to content

Iron Islands Counterexample #1

Description

@spherinder

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

3

iron_islands/solution.cpp outputs 0, but it should output 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions