1892: Summation of Sequences
内存限制:128 MB
时间限制:1.000 S
评测方式:文本比较
命题人:
提交:26
解决:11
题目描述
Find the sum of the following sequence:
输入
There are multiple groups of input. Each group has a positive integer N, which represents the number of items in the required sequence.
If N=100, the sequence of numbers is:
输出
The sum of the output sequence is output, and the result is kept to 2 decimal places.
样例输入 复制
1
2
3
4
5
6
7
8
9
10
样例输出 复制
1.00
0.50
0.83
0.58
0.78
0.62
0.76
0.63
0.75
0.65