1004. Counting Leaves (30) PAT甲級刷題

A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Inputhtml Each input file contains one test case. Each case starts with a line
相關文章
相關標籤/搜索