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 1314. Chase in Subway

I think testset for this problem isn't right
Posted by Maxim Kiryushin 1 Feb 2005 00:46
My AC program give answer 3 for a following test:
2
4 1 2 3 4
4 1 2 5 4
3 1 2 3

But I think answer must be: 3 4

Am I right?
Re: I think testset for this problem isn't right
Posted by Samsonov Alex [SESC USU] 17 Jun 2005 12:44
Yes. I think you are lucky you got AC.
Re: I think testset for this problem isn't right
Posted by JerryDream 30 Apr 2020 13:46
NO!
Maxim Kiryushin wrote 1 February 2005 00:46
My AC program give answer 3 for a following test:
2
4 1 2 3 4
4 1 2 5 4
3 1 2 3

But I think answer must be: 3 4

Am I right?