10846 - Reading time from a clock

All about problems in Volume 108. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
User avatar
Cho
A great helper
Posts: 274
Joined: Wed Oct 20, 2004 11:51 pm
Location: Hong Kong

10846 - Reading time from a clock

Post by Cho » Fri May 27, 2005 3:32 pm

I have two questions for understanding the problem. Anyone can clarify for me?

1. If two hands are in the same position, is it a case that confusion will arise?
(In my opinion, confusion will not arise in this situation.)

2. From the problem, "... and that t1<=t2 (this means that, within a day, t1 does not happen after t2 )...", I get two meanings from this statement.
a. There will be no case like:

Code: Select all

12 60 1
3:0 0/1 2:0 0/1
b. The above case is valid and the time period is from 3 o'clock of the first day to 2 o'clock of the next day.

mf
Guru
Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland
Contact:

Post by mf » Fri May 27, 2005 4:51 pm

1. A confusion never arises in that case (because whatever hand you take to be the hour-hand, you get the same time.)
2. Your first interpretation is correct.

Perhaps this I/O can help:

Code: Select all

12 60 4
0:00 0/1        11:59 0/1
5:55 0/5         5:55 0/5
10:54 1/2       10:54 3/4
11:54 965/1000  11:54 966/1000

1 1 2
0:0 0/1  0:0 0/1
0:0 0/1  0:0 999/1000

1 60 1
0:0 0/1  0:59 999/1000

0 0 0
Output:

Code: Select all

Planet 1:
132
0
0
1

Planet 2:
0
0

Planet 3:
0
There's no "infinity" case in this problem.

User avatar
Cho
A great helper
Posts: 274
Joined: Wed Oct 20, 2004 11:51 pm
Location: Hong Kong

Post by Cho » Fri May 27, 2005 5:06 pm

mf wrote:There's no "infinity" case in this problem.
Yes. That's why I thought two hands at the same position may arise confusion, otherwise, there will be no "infinity".
Thank you for your clarification :D

Post Reply

Return to “Volume 108 (10800-10899)”