2309

所属分类:教育系统应用
开发工具:C/C++
文件大小:13KB
下载次数:5
上传日期:2008-03-14 19:32:28
上 传 者pf67
说明:  北京大学ACM比赛题目 Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this subtree by repeating going down the left node until the last level, and we can also find the maximum number by going down the right node. Now you are given some queries as "What are the minimum and maximum numbers in the subtree whose root node is X?" Please try to find answers for there queries.
(Peking University ACM competitions topics Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this subtree by repeating going down the left node until the last level, and we can also find the maximum number by going down the right node. Now you are given some queries as )

文件列表:
2309_1.jpg (14112, 2008-03-14)
2309.c (446, 2006-07-29)
text.txt (368, 2008-03-14)

近期下载者

相关文件


收藏者