PAT-A 真题- 1004. Counting Leaves
原题干:A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains one test case. Each case starts with a line containing 0 < N < 10 ...