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

鼠扑  论坛元老 | 2023-4-17 17:25:19 | 显示全部楼层 | 阅读模式
打印 上一主题 下一主题

主题 2031|帖子 2031|积分 6093

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
    好消息:与上题的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 立即注册

本版积分规则

鼠扑

论坛元老
这个人很懒什么都没写!
快速回复 返回顶部 返回列表