英语翻译一道题目

来源:百度知道 编辑:UC知道 时间:2024/05/26 07:24:46
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 int

从前有个计算机程序员正沿着高速公路行驶。路很平坦而且笔直,没有坑,没有包,没有转弯处,向前延伸到很远很远。一个词,无聊!所以这个程序员决定看看沿路的广告牌。有一个广告牌特别有意思,他就想仔细观察观察它。但他发现没有电脑在身边,它很难决定观看广告牌的最大角度。
输入
我们将广告牌当成一架飞机上的一个部分,而把这条路想象成横坐标轴。输入的四条线包括数字 x1, y1, x2, y2, 正好是广告牌的四个边。这些数字是从负1000到正1000的整数。但广告牌的四边于这个条件不符合。
输出
你需要用计算出从路上观测广告牌的最佳角度的弧度,小数点后六位数。

因为数学知识有限,所以很多术语什么意思,就能翻译成这样了,具体的你自己理解一下吧

一旦计算机程序员驾车沿公路。道路是非常顺利和连续,没有坑,没有颠簸,没有轮流跋涉前进。总之,无聊!因此,程序员决定,鉴于公路沿线广告牌。一个广告牌非常有趣的是,程序员要检查正常。但是,如果没有电脑,他发现很难确定这一点,最大可视角度。

输入

我们认为,广告牌作为一个部分在飞机上和承担,这条道路的代表是横坐标轴。四线的输入文件包含数字象X1 ,日圆, X2处理器,日圆,这是坐标Billboard的边缘。这些数字是整数的范围从-1000到1000 。 Billboard的边缘并不一致。

输出

您应该输出值(弧度)的最佳视角的广告牌从道内6位小数点后。

一旦ACM程序员沿高速公路驾驶。 路今后是非常光滑和平直,没有坑、没有爆沸、没有轮英哩和英哩。 简而言之,不耐烦! 如此程序员决定观看广告牌沿高速公路。 一个广告牌是很有趣程序员想适当地审查它。 但,不用计算机他发现了难确定点以最大的视角。 输入我们认为广告牌段在飞机上并且假设,路由横坐标轴代表。 输入文件的四条线包含数字x1, y1, x2, y2,是广告牌的边缘的座标。 数字是整数在范围从−1000到1000年。 广告牌的边缘不是相符。 产品您在6个数字之内应该从路输出价值(在弧度)的广告牌的最佳的视角在小数点以后。

一旦ACM程序员沿高速公路驾驶。 路今后是非常光滑和平直,没有坑、没有