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

to admin: the description of this problem is wrong!
Posted by StarForever 5 Jan 2007 13:36
Each sightseeing route is a sequence of road numbers y1, …, yk, k ≥ 2

in fact k>2 && k!=2

first I have to deal with the case when k=2, but I got WA.
then I ignore this case, and got AC.

maybe it's not important to somebodyt.
but still it's a little error.
Re: to admin: the description of this problem is wrong!
Posted by Torax [Lviv NU] 1 Feb 2007 20:30
It's very important detail and it's not a LITTLE error!!!
I wonder why such an important detail wasn't corrected so long. That "detail" costed me 5 submissions with WA#1 :((
Damn it! :-E
Re: to admin: the description of this problem is wrong!
Posted by .Net, Java - any pcode sucks 21 Apr 2007 02:44
it seems to me, thats your error, not the incorrect problem.

if case k==2 is impossible, does not matter, deal you with it or not.
Re: to admin: the description of this problem is wrong!
Posted by HASK.L. 25 Apr 2007 20:52
yes, if input is
2 2
1 2 1
2 1 1
-1

then output should be

No solution.
Re: to admin: the description of this problem is wrong!
Posted by Rachel 19 Jun 2008 13:32
TRUE!
I was also misled by the description, but now I get AC ignoring cases where k=2.