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 1070. Local Time

Help check my answer? thanks
Posted by semiconductor 14 May 2005 19:12
input:
23.42 01.14
08.10 17.51
my output is 9
The differ of the two airport is -4 hours.
So the time as the destination local time is below:
23.42-4=19.42   01.14=25.14
08.10           17.51-4=13.51
first duration is 25.14-19.42=5.32
second duration is 13.51-08.10=5.41
so the answer is 5.41-5.32=9
Is it right??
Thanks


Re: Help check my answer? thanks
Posted by WangTing Bless Me 14 May 2005 20:35
My ACed problem show that the answer is 4
Re: Help check my answer? thanks
Posted by semiconductor 15 May 2005 09:20
Can you tell me the difference between the two airports' local time?
thanks for your reply.