英語翻譯一道題目
英語翻譯一道題目
After a success of the previous Vasechkin’s program that allowed to calculate the results of the elections in cause of two days Artemy Sidorovich was placed at the head of the department. At the moment Artemy Sidorovich prepares a task for his subordinate — programmer Petechkin. The task is to write a very useful function that would ease the life of all the department programmers. For each integer from 0 to M the function would calculate how many times this number appears in the N-element array. Artemy Sidorovich deems that the function should work as follows (the sample code for N=3, M=1):
Artemy Sidorovich wants to estimate the time that Petechkin will need to execute the task. We know that Petechkin needs one second to write a line of the code (he’s fast, isn’t he?). Artemy Sidorovich doesn’t know exactly bounds for M and N. Your task is to write program that would calculate a number of seconds that Petechkin will write the code.
Input
contains 2 nonnegative integers — N (N
上面那題不用翻譯了?。。。。。?br/>翻譯下面那題……
Once an ACM programmer was driving along a highway. The road was very smooth and straight, no pits, no bumps, no turns miles and miles forward. In short, boring! So the programmer decided to view billboards along the highway. One billboard was so interesting that the programmer wanted to examine it properly. But without a computer he found it difficult to determine the point with the maximal viewing angle.
Input
We regard the billboard as a segment on a plane and assume that the road is represented by the abscissa axis. The four lines of the input file contain numbers x1, y1, x2, y2, which are the coordinates of the billboard's edges. The numbers are integers in the range from −1000 to 1000. Billboard's edges are not coincide.
Output
You should output the value (in radians) of the best viewing angle of the billboard from the road within 6 digits after the decimal point.
http://acm.timus.ru/problem.aspx?space=1&num
After a success of the previous Vasechkin’s program that allowed to calculate the results of the elections in cause of two days Artemy Sidorovich was placed at the head of the department. At the moment Artemy Sidorovich prepares a task for his subordinate — programmer Petechkin. The task is to write a very useful function that would ease the life of all the department programmers. For each integer from 0 to M the function would calculate how many times this number appears in the N-element array. Artemy Sidorovich deems that the function should work as follows (the sample code for N=3, M=1):
Artemy Sidorovich wants to estimate the time that Petechkin will need to execute the task. We know that Petechkin needs one second to write a line of the code (he’s fast, isn’t he?). Artemy Sidorovich doesn’t know exactly bounds for M and N. Your task is to write program that would calculate a number of seconds that Petechkin will write the code.
Input
contains 2 nonnegative integers — N (N
上面那題不用翻譯了?。。。。。?br/>翻譯下面那題……
Once an ACM programmer was driving along a highway. The road was very smooth and straight, no pits, no bumps, no turns miles and miles forward. In short, boring! So the programmer decided to view billboards along the highway. One billboard was so interesting that the programmer wanted to examine it properly. But without a computer he found it difficult to determine the point with the maximal viewing angle.
Input
We regard the billboard as a segment on a plane and assume that the road is represented by the abscissa axis. The four lines of the input file contain numbers x1, y1, x2, y2, which are the coordinates of the billboard's edges. The numbers are integers in the range from −1000 to 1000. Billboard's edges are not coincide.
Output
You should output the value (in radians) of the best viewing angle of the billboard from the road within 6 digits after the decimal point.
http://acm.timus.ru/problem.aspx?space=1&num
英語人氣:777 ℃時(shí)間:2019-09-22 09:25:03
優(yōu)質(zhì)解答
從前有個(gè)計(jì)算機(jī)程序員正沿著高速公路行駛.路很平坦而且筆直,沒有坑,沒有包,沒有轉(zhuǎn)彎處,向前延伸到很遠(yuǎn)很遠(yuǎn).一個(gè)詞,無聊!所以這個(gè)程序員決定看看沿路的廣告牌.有一個(gè)廣告牌特別有意思,他就想仔細(xì)觀察觀察它.但他發(fā)現(xiàn)...
我來回答
類似推薦
- 英語翻譯
- 英語翻譯
- 英語翻譯
- 英語翻譯
- 英語翻譯
- 二階導(dǎo)數(shù)求函數(shù)極值 y=2x-ln(4x)^2
- 一個(gè)圓柱形鐵皮油桶,裝滿汽油,把桶里的汽油倒出3分之2,還剩下36升,已知油桶的高為8分米,油桶的底面積是多少平方分米?
- 分解因式 2x2+xy+y2-4x+5y-6
- a^6(X^2-xy)+ab^2(Y^2-XY) 分解因式
- “念無與樂者”還是“念無與為樂者”?糾結(jié)中
- 人類社會(huì)產(chǎn)生之后,自然界的存在與發(fā)展不再是客觀的
- 一個(gè)數(shù)由9個(gè)億,8個(gè)千萬,6個(gè)萬和2個(gè)一組成,這個(gè)數(shù)是( )省略億位后
猜你喜歡
- 1一個(gè)長方形,把它切割成一個(gè)最大的正方形,面積比原來減少多少平方米?
- 2need的具體用法
- 3用分式的加減運(yùn)算
- 4已知M={x,xy,根號(hào)x-y}與集合N={0,|x|,y}表示同一個(gè)集合,求x,y的值.
- 5做到一個(gè)題目``研究某函數(shù)單調(diào)區(qū)間時(shí),對(duì)這個(gè)函數(shù)求導(dǎo)=【(1-m)e^x 】-m 其中m是參數(shù).
- 6桃子20千克梨16千克,梨比桃子少多少百分比?桃子比梨多百分之~
- 7連詞成句there of lots different are .
- 8氯化銀,硫酸鋇是離子化合物么
- 9某種昆蟲靠翅的振動(dòng)發(fā)聲.如果這種昆蟲的翅在2秒內(nèi)做了700次振動(dòng),頻率為多少?人類能聽到嗎?為什么?
- 10設(shè)橢圓的中心在原點(diǎn),焦點(diǎn)在x軸上,A為橢圓上的頂點(diǎn),直線L6x-5y-28=0,交橢圓于BC兩點(diǎn)
- 11西域的概念?
- 122006*1/250*501/1=?