#P10314. [SHUPC 2024] 函数
[SHUPC 2024] 函数
Problem Description
Little A is learning about functions. One day, she found a wonderful function:
She likes this function very much. Now, she will ask you queries. Each query contains a floating-point number , and you only need to output the value of .
An output is considered correct if the absolute error or relative error compared with the standard answer does not exceed .
Input Format
The first line contains an integer , indicating the number of test cases.
In the next lines, each line contains a floating-point number . It is guaranteed that and (i.e., is not a natural number).
Output Format
Output lines, each containing one number, which is the answer.
An output is considered correct if the absolute error or relative error compared with the standard answer does not exceed .
3
1.10
1.72
2.34
1.000000
1.000000
2.000000
Hint
Translated by ChatGPT 5