Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem2445--二叉树1-叶结点数量2
2445: 二叉树1-叶结点数量2
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
182
Solved:
158
[
Status
] [
Submit
] [Creator:
]
Description
已知一棵完全二叉树的节点个数为n,求该完全二叉树度的叶结点数
(2<=n<=1000000000)
Sample Input
Copy
5
Sample Output
Copy
3
HINT
输入样例2
100
输出样例2
50
Source/Category
提高B