Problem Description There is a complete binary tree with N nodes.The subtree of the node i has Ai nodes.How many distinct numbers are there of Ai?   Input There are multiple test cases, no more than 1000 cases. For each case contains a single integer N on…

2016年7月30日 0条评论 7点热度 阅读全文