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 1607. Taxi

Strange Testcases. Please Help!
Posted by Dev 16 Mar 2015 23:22
for 150 400 1000 200:
150 1000
550 800*
950 600
how is the answer 800 and not 950 ??

for 100 100 150 20:
100 150*
200 130
why is the answer 150 and not 200 ??

for 1 2 12 3:
1 12
3 9
5 6*
7 5
why is the answer 6 and not 7 ??

for 3 3 5 2:
3 5*
6 3
why is the answer 5 and not 6 ??
Please help!

Edited by author 16.03.2015 23:24
Re: Strange Testcases. Please Help!
Posted by IlushaMax 22 Mar 2016 20:01
Read one more time the problem and thank you for good tests)
Re: Strange Testcases. Please Help!
Posted by Combatcook 23 Mar 2016 10:53
"Таксист не станет называть цену ниже той, которую предложит Петя. В этом случае он согласится с его ценой. Аналогичным образом поступит и Петя."