#P1041. 数列求和2

数列求和2

Problem Description

输入一个整数n,输出数列1-1/3+1/5-……前n项的和。

Input Format

输入只有一个整数n。

Output Format

结果保留2为小数,单独占一行。
3
0.87