菜鸟记录:c语言实现PAT甲级1004--Counting Leaves

打印 上一主题 下一主题

主题 900|帖子 900|积分 2700

    好消息:与上题的Emergency是同样的方法。坏消息:又错了&&c++真的比c方便太多太多。
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.
Input Specification:


Each input file contains one test case. Each case starts with a line containing 0
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

立聪堂德州十三局店

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表