Category
Similar Problems
0316. Yakuniy_2_G
Time limit : 1000 ms
Memory limit : 64 mb
Yig’indini xisoblang
$$\frac{cos(1)}{1}+\frac{cos(2)}{2}+...+\frac{cos(n)}{n}$$
Kiruvchi ma’lumotlar: Bitta butun son $n$ $(1 \le n \le 100)$
Chiquvchi ma’lumotlar: Bitta son masala yechimi. Bitta son masala yechimi. Yechim $10^{-2}$ aniqlikda chiqarilsin .
Input |
---|
1 |
Output |
0.54 |
Input |
---|
19 |
Output |
0.07 |