I think z-cycle has bad problem statement in both serbian and english language...
it says: Find the cycle with the lowest weight that contains the nodes 1 and N and whose path goes through every node at most once
but I think that in solution you need to consider: Find the cycle with the lowest weight that contains the nodes 1 and N and whose path goes through every edge at most once
because I've sent both solutions ( which I think I coded correctly ) and that one that have considered edges have passed...
Please someone check this, and if I am right, please correct problem statement...
it says: Find the cycle with the lowest weight that contains the nodes 1 and N and whose path goes through every node at most once
but I think that in solution you need to consider: Find the cycle with the lowest weight that contains the nodes 1 and N and whose path goes through every edge at most once
because I've sent both solutions ( which I think I coded correctly ) and that one that have considered edges have passed...
Please someone check this, and if I am right, please correct problem statement...