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 sample output is that but not "1 3"
Posted by Xin Tao 30 Dec 2002 16:36
the way 1-3-1 shoud be best one!
Re: Why the sample output is that but not "1 3"
Posted by Punkrocker 19 Sep 2003 00:35
You must read the text of the problem MORE CAREFULLY.
Re: Why the sample output is that but not "1 3"
Posted by xakac 13 Sep 2004 00:47
Yes, that's right: when 1-3-1, you use only k = 2 roads; but the condition is k > 2. Note this.