Category
Similar Problems
0945. ifoda
Time limit : 1000 ms
Memory limit : 64 mb
Ushbu ifodani hisoblang.
$S = (1+a)(1+a^2)(1+a^4)(1+a^8)...$
Kiruvchi ma’lumotlar:
Bitta haqiqiy son $a(0\le a <1)$
Chiquvchi ma’lumotlar:
$S$ ning qiymatini $10^{-5}$ aniqlikda chiqaring
Input |
---|
0 |
Output |
1.00000 |