Problem2783--完全二叉树基本练习

2783: 完全二叉树基本练习

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Sample Input Copy

6
3
10
37
1
10000000000000000
15

Sample Output Copy

4
18
71
1
19999999999999980
26

Source/Category