摘要: Q: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 #includeint tree[100][100];int n,m;int count[100];int maxLevel;void dfs(int id,int level){ 阅读全文
posted @ 2013-07-13 21:39 summer_zhou 阅读(374) 评论(0) 推荐(0) 编辑