ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1004. Sightseeing Trip

why the output is 1 3 5 2
Posted by fytain 1 Nov 2007 11:53
It should be 1 2 5 3 or sth others if started from node 1 and the sequence is in order.

I don't understand why it is 1 3 5 2.
Re: why the output is 1 3 5 2
Posted by Cao Ziwen 6 Dec 2007 18:57
i think it is 2135

Edited by author 06.12.2007 18:58
Re: why the output is 1 3 5 2
Posted by yzthz 17 Mar 2009 07:48
Both OK, notice that the routes are two-way