翻译下面一段对话
andmovementhaslongbeenusedtomeasuretime.Forexample,theballclockisasimpledevicewhichke...
and movement has long been used to measure time. For example, the ball clock is a simple device which keeps track of the passing minutes by moving ball-bearings. Each minute, a rotating arm removes a ball bearing from the queue at the bottom, raises it to the top of the clock and deposits it on a track leading to indicators displaying minutes, five-minutes and hours. These indicators display the time between 1:00 and 12:59, but without 'a.m.' or 'p.m.' indicators. Thus 2 balls in the minute indicator, 6 balls in the five-minute indicator and 5 balls in the hour indicator displays the time 5:32.
Unfortunately, most commercially available ball clocks do not incorporate a date indication, although this would be simple to do with the addition of further carry and indicator tracks. However, all is not lost! As the balls migrate through the mechanism of the clock, they change their relative ordering in a predictable way. Careful study of these orderings will therefore yield the time elapsed since the clock had some specific ordering. The length of time which can be measured is limited because the orderings of the balls eventually begin to repeat. Your program must compute the time before repetition, which varies according to the total number of balls present.
Operation of the Ball Clock
Every minute, the least recently used ball is removed from the queue of balls at the bottom of the clock, elevated, then deposited on the minute indicator track, which is able to hold four balls. When a fifth ball rolls on to the minute indicator track, its weight causes the track to tilt. The four balls already on the track run back down to join the queue of balls waiting at the bottom in reverse order of their original addition to the minutes track. The fifth ball, which caused the tilt, rolls on down to the five-minute indicator track. This track holds eleven balls. The twelfth ball carried over from the minutes causes the five-minute track to tilt, returning the eleven balls to the queue, again in reverse order of their addition. The twelfth ball rolls down to the hour indicator. The hour indicator also holds eleven balls, but has one extra fixed ball which is always present so that counting the balls in the hour indicator will yield an hour in the range one to twelve. The twelfth ball carried over from the five-minute indicator causes the hour indicator to tilt, returning the eleven free balls to the queue, in reverse order, before the twelfth ball itself also returns to the queue 展开
Unfortunately, most commercially available ball clocks do not incorporate a date indication, although this would be simple to do with the addition of further carry and indicator tracks. However, all is not lost! As the balls migrate through the mechanism of the clock, they change their relative ordering in a predictable way. Careful study of these orderings will therefore yield the time elapsed since the clock had some specific ordering. The length of time which can be measured is limited because the orderings of the balls eventually begin to repeat. Your program must compute the time before repetition, which varies according to the total number of balls present.
Operation of the Ball Clock
Every minute, the least recently used ball is removed from the queue of balls at the bottom of the clock, elevated, then deposited on the minute indicator track, which is able to hold four balls. When a fifth ball rolls on to the minute indicator track, its weight causes the track to tilt. The four balls already on the track run back down to join the queue of balls waiting at the bottom in reverse order of their original addition to the minutes track. The fifth ball, which caused the tilt, rolls on down to the five-minute indicator track. This track holds eleven balls. The twelfth ball carried over from the minutes causes the five-minute track to tilt, returning the eleven balls to the queue, again in reverse order of their addition. The twelfth ball rolls down to the hour indicator. The hour indicator also holds eleven balls, but has one extra fixed ball which is always present so that counting the balls in the hour indicator will yield an hour in the range one to twelve. The twelfth ball carried over from the five-minute indicator causes the hour indicator to tilt, returning the eleven free balls to the queue, in reverse order, before the twelfth ball itself also returns to the queue 展开
1个回答
展开全部
和运动一直被用来测量时间。例如,球时钟是一个简单的装置,通过不断的移动分球轴承的轨道。每分钟,旋转手臂去除底部的队列一球轴承,提出了一条通往该指标显示分钟,5分钟和小时跟踪它的时钟和存款它的顶部。这些指标显示1:00和12:59之间的时间,但没有'我'或'时'指标。因此,在每分钟2球指标,6球在5分钟指标和5个球中的小时指标显示时间5:32 。
不幸的是,大多数商用球没有纳入时钟日期显示,虽然这将是简单,做了进一步落实和指标跟踪补充。然而,一切都没有失去!当球通过迁移的时钟机制,才能改变自己的相对可预测的方式订购。仔细研究这些序因此产生的时间过去了,因为有一些具体的时钟排序。时间可以测量的长度是有限的,因为对球的最终排序开始重复。你的程序之前,必须重复计算时间,根据不同的球的总数目。
球的运行时钟
每一分钟,最近使用的球是最不被删除从队列球在时钟的底部,高架,然后在一分钟指标跟踪,这是能够举行四次球沉积。当第五个球滚动到分钟指标轨道,它的重量会导致轨道倾斜。已经在赛道上的四个球运行回落到加入时,在其原来除了分钟追踪球相反的顺序排队轮候的底部。第五球,造成倾斜,滚动,下至5分钟的指标轨道。这条赛道拥有11个球。第十二分钟,球从进行过导致5分钟轨道倾斜,并返回到队列中11球,再次在他们的另外相反的顺序。第十二球滚下来到一小时的指标。该指标还拥有11小时的球,但有一个额外的固定球是始终存在,以便在一小时计算球将产量指标范围十一时59小时。第十二球进行了5分钟的指标多小时的指标,导致倾斜,返回11个自由球到队列中,以相反的顺序在第十二届球本身,还返回到队列
不幸的是,大多数商用球没有纳入时钟日期显示,虽然这将是简单,做了进一步落实和指标跟踪补充。然而,一切都没有失去!当球通过迁移的时钟机制,才能改变自己的相对可预测的方式订购。仔细研究这些序因此产生的时间过去了,因为有一些具体的时钟排序。时间可以测量的长度是有限的,因为对球的最终排序开始重复。你的程序之前,必须重复计算时间,根据不同的球的总数目。
球的运行时钟
每一分钟,最近使用的球是最不被删除从队列球在时钟的底部,高架,然后在一分钟指标跟踪,这是能够举行四次球沉积。当第五个球滚动到分钟指标轨道,它的重量会导致轨道倾斜。已经在赛道上的四个球运行回落到加入时,在其原来除了分钟追踪球相反的顺序排队轮候的底部。第五球,造成倾斜,滚动,下至5分钟的指标轨道。这条赛道拥有11个球。第十二分钟,球从进行过导致5分钟轨道倾斜,并返回到队列中11球,再次在他们的另外相反的顺序。第十二球滚下来到一小时的指标。该指标还拥有11小时的球,但有一个额外的固定球是始终存在,以便在一小时计算球将产量指标范围十一时59小时。第十二球进行了5分钟的指标多小时的指标,导致倾斜,返回11个自由球到队列中,以相反的顺序在第十二届球本身,还返回到队列
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询