5159: P8681 [蓝桥杯 2019 省 AB] 完全二叉树的权值
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description

Input

Output

Sample Input Copy
7
1 6 5 4 3 2 1
Sample Output Copy
2
HINT
