2022级统计计算机双学位《程序设计原理与C语言》上机作业

1032. square root

单点时限: 2.0 sec

内存限制: 512 MB

Input a real number $x$ $ (0 \leq x \leq 10^9)$, output its square root with error less than $10^{−6}$ using bisection algorithm.

输入格式

Input a real number.

输出格式

Output its square root.

样例

Input
932282158.6512308
Output
30533.29590216
Input
560010284.599082
Output
23664.53643319
Input
922313882.8472252
Output
30369.62105206