摘要: 1005 Spell It Right (20分) Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every... 阅读全文
posted @ 2020-02-24 16:56 Hu_YaYa 阅读(19) 评论(0) 推荐(0)
摘要: 1001 A+B Format (20分) Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of... 阅读全文
posted @ 2020-02-24 12:01 Hu_YaYa 阅读(22) 评论(0) 推荐(0)
摘要: 1004 Counting Leaves (30分) A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members w... 阅读全文
posted @ 2020-02-24 11:50 Hu_YaYa 阅读(23) 评论(0) 推荐(0)