311230: CF1952G. Mathematician Takeover

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

G. Mathematician Takeovertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

A mathematician grabbed my computer as I was preparing this problem, deleted the statement, and changed the samples to fit his liking. The model solution and input/output format are still correct, but the samples are wrong.

I've partially fixed the problem so that when you submit, it will be tested against the correct version of the problem. However, I can't fix the samples below. As a computer scientist, can you solve the correct problem?

Input

The only line of input contains a real number $x$ ($1 \leq x \leq 100$), given to exactly three decimal places.

Output

Output one real number — the answer. Your answer is considered correct if its absolute or relative error does not exceed $10^{-4}$. Formally, let your answer be $a$, and the jury's answer be $b$. Your answer is accepted if and only if $\frac{|a-b|}{\max(1,|b|)} \le 10^{-4}$.

ExamplesInput
1.234
Output
0.21026
Input
4.113
Output
1.41415
Input
99.000
Output
4.59512

Output

题目大意:一个数学家篡改了这个问题,删除了题目描述,并修改了示例以符合他的喜好。模型答案和输入/输出格式仍然是正确的,但示例是错误的。输入一个实数 \( x \)(\( 1 \leq x \leq 100 \)),精确到小数点后三位。输出一个实数——答案。如果答案的绝对误差或相对误差不超过 \( 10^{-4} \),则认为答案正确。

输入数据格式:输入一个实数 \( x \),精确到小数点后三位。

输出数据格式:输出一个实数——答案。如果答案的绝对误差或相对误差不超过 \( 10^{-4} \),则认为答案正确。

示例:

Input: 1.234

Output: 0.21026

Input: 4.113

Output: 1.41415

Input: 99.000

Output: 4.59512题目大意:一个数学家篡改了这个问题,删除了题目描述,并修改了示例以符合他的喜好。模型答案和输入/输出格式仍然是正确的,但示例是错误的。输入一个实数 \( x \)(\( 1 \leq x \leq 100 \)),精确到小数点后三位。输出一个实数——答案。如果答案的绝对误差或相对误差不超过 \( 10^{-4} \),则认为答案正确。 输入数据格式:输入一个实数 \( x \),精确到小数点后三位。 输出数据格式:输出一个实数——答案。如果答案的绝对误差或相对误差不超过 \( 10^{-4} \),则认为答案正确。 示例: Input: 1.234 Output: 0.21026 Input: 4.113 Output: 1.41415 Input: 99.000 Output: 4.59512

加入题单

上一题 下一题 算法标签: