Problem5116--求和5

5116: 求和5

Time Limit: 1.000 Sec  Memory Limit: 128 MB
Submit: 520  Solved: 260
[Submit] [Status] [Web Board] [Creator:]

Description

输入一个n,求s=1+1/2+1/3+…+1/n的和





Input




Output

所求的和s,保留3位小数。



Sample Input

3

Sample Output

1.833

Source/Category


[Submit] [Status]