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 1885. Passenger Comfort

Solution
Posted by sdlcj 11 Mar 2012 17:44
Note that : print the double is ok!
Re: Solution
Posted by MOPDOBOPOT (USU) 2 Aug 2012 18:55
Thanks ;)
Re: Solution
Posted by Vetriti 13 Jun 2013 01:11
Solution is very simple but I couldn`t firstly find it. It is a set of equations, everybody learned it at school. Simply try to solve this: y+z=t and v*y+x*z=h, where Y is MIN time and Z is t-MIN time. Try to find MAX by yourself.
Sorry for my awful English. Good luck:)

Edited by author 13.06.2013 01:13