英语翻译
题目
英语翻译
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
答案
和运动一直被用来测量时间.例如,球时钟是一个简单的装置,通过不断的移动分球轴承的轨道.每分钟,旋转手臂去除底部的队列一球轴承,提出了一条通往该指标显示分钟,5分钟和小时跟踪它的时钟和存款它的顶部.这些指标显示1...
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
最新试题
- 船从河里流到海里,既然浮力不变,为什么还会上浮?浮力公式里的V排是指浸在液体中的体积还是全部的体积?
- 六年级三个班去植树,一班植的棵树与二班的棵树比是5:4,二班植的棵树与三班的棵树比是3:2,三个班共植树105棵,一班、二班、三班各植多少棵树?
- 人民解放军百万大军横渡长江文中的背景是哪句
- (在线等)实验室里有已配好的NaOH溶液,一瓶所贴标签为4.0mol/L,另一瓶所贴标签为14%,
- 语法判断,Li Ping usually gets up very early中,get up是句子里的谓语吗?very early是get up的程度状语吗?如果是,那usually在句子是什么,如
- 怎么理解一篇文章的中心思想
- tasty
- 从一副中国象棋中随机地摸出一枚棋子,摸到红“帅”的概率为
- 人是骄傲的动物么
- 直线l过P(3,4)且A(-2,3)、B(8,13)到直线l的距离相等,求直线l的方程
热门考点
- 亚米契斯所写的小抄写员偷偷帮父亲写签条后父亲的态度,儿子的感受
- 四分之一乘()+四分之一乘()+四分之一乘()等于()乘六等于()
- 在一个长方体中,互相垂直的平面有几对?互相平行的平面有几对?
- 9999^2,运用平方差公式计算.
- 宋丞相赵普曾说:“半部《论语》治天下.有何目的?
- 对于0
- 电镀与阳极氧化区别
- 每天想看到你,每天想听到你,每天想着你,用英语怎么说
- 若a1=1-1/m,a2=1-1/a1,a3=1-1/a2,…;则a2014的值为_.(用含m的代数式表示)
- 已知二次函数y=ax平方+bx+c,当x=0时,y=7,当x=1时,y=0时,当x=-2时,y=9求它的解析式