中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-11-23 23:43
47,820 topics / 349,938 posts / today 0 new / 48,298 members
DOS批处理 & 脚本技术(批处理室) » Problem: How many times do the three hands of a clock coincide in a day?
Printable Version  7,717 / 32
Floor31 snoopy99 Posted 2009-01-21 18:44
新手上路 Posts 1 Credits 1
The one upstairs should be correct. I once wrote this thing in an interview, and I don't know whether the final outcome is right or wrong. If we consider hours, minutes, and seconds from the perspective of a circle, the only overlapping point is at 12 o'clock (the starting point). If it's a mechanical watch that jumps once per second, it's exactly 23 times. 00:00:00 and 1:00:00 are the same point.
Floor32 523066680 Posted 2009-01-21 21:20
银牌会员 Posts 1,133 Credits 2,361
Strange, can this be done with batch processing?
I remember seeing this problem when I studied radian angles (rad) in math books.

[ Last edited by 523066680 on 2009-1-21 at 21:43 ]
Floor33 Hanyeguxing Posted 2010-12-26 12:45
银牌会员 Posts 897 Credits 1,039 From 在地狱中仰望天堂
If the owner of the post is asking a brain teaser, the answer to this question is: 0 times, because the three needles are different in size and length, so they cannot be completely coincident.

There are so many kinds of answers upstairs. The problem is that we only pay attention to the surface indication of the clock and ignore the basic common sense of how the clock or watch operates...

[ Last edited by Hanyeguxing on 2010-12-26 at 13:51 ]
Prev  1 2 3
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023