Tính giá trị biểu thức
View as PDF
Submit solution
Points:
0.01 (partial)
Time limit:
1.0s
Memory limit:
64M
Input:
stdin
Output:
stdout
Authors:
Problem type
Nhập 1 số nguyên x. Xuất ra màn hình kết quả của biểu thức sau: x~^2~/(1+x~^2~/(1+x~^2~/(1+x~^2~ )))
\~\frac{x^2}{1 + \frac{x^2}{1+\frac{x^2}{1+x^2}}}~
Kết quả làm tròn đến 8 chứ số thập phân
Input
Một dòng duy nhất chứa số nguyên n.
Output
Một dòng duy nhất là kết quả của biểu thức
Examples
Input
216
Output
1.99989283
Comments
hehe