摘要: 题目 1007 Maximum Subsequence Sum (25分) Given a sequence of K integers { N1, N2, ..., N**K }. A continuous subsequence is defined to be { N**i, N**i+1, 阅读全文
posted @ 2021-01-23 21:03 tanknee 阅读(67) 评论(0) 推荐(0)
摘要: 题目与翻译 1006 Sign In and Sign Out 登录和退出 (25分) At the beginning of every day, the first person who signs in the computer room will unlock the door, and t 阅读全文
posted @ 2021-01-23 15:08 tanknee 阅读(119) 评论(0) 推荐(0)
摘要: 题目与翻译 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 digit of 阅读全文
posted @ 2021-01-23 13:17 tanknee 阅读(95) 评论(0) 推荐(0)
摘要: 题目与翻译 1004 Counting Leaves 数树叶 (30分) A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no 阅读全文
posted @ 2021-01-23 12:56 tanknee 阅读(175) 评论(0) 推荐(0)