文件名称:2309
介绍说明--下载内容来自于网络,使用问题请自行百度
北京大学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.
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2309_1.jpg
2309.c
text.txt
www.dssz.com.txt
2309.c
text.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.