Problem1379--输出数列 1, 1/2, 1/4, 1/8...

1379: 输出数列 1, 1/2, 1/4, 1/8...

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 39  Solved: 1
[Submit] [Status] [Web Board] [Creator:]

Description

输入正整数N(N≤20),输出数列2-i的前N项1,1/2,1/4,1/8,1/16...每个数占一行(小数点后默认保留15位)

Input

输入正整数N(N≤20)

Sample Input Copy

5

Sample Output Copy

1.000000000000
0.500000000000
0.250000000000
0.125000000000
0.062500000000

Source/Category