HDU 3999 The order of a Tree 二叉树

There are multiple test cases in an input file. The first line of each testcase is an integer n(n <= 100,000),represent the number of nodes.The second line has n intergers,k1 to kn,represent the order of a tree.To make if more simple, k1 to kn is a sequence of 1 to n.

,每个人在他的人生发轫之初,总有一段时光,

HDU 3999 The order of a Tree 二叉树

相关文章:

你感兴趣的文章:

标签云: