摘要: 题目描述 There is a sequence of length N: a=(a1,a2,…,aN). Here, each ai is a non-negative integer.Snuke can repeatedly perform the following operation:Let 阅读全文
posted @ 2019-03-13 21:46 Albert_liu 阅读(252) 评论(0) 推荐(0)
摘要: 这么一场下来是真的累。。。从头敲到尾。感觉里面的题目都比较基础,一些基础的数据读取和一些比较基础的数据结构。但是也踩了不少坑。。。 7-1 正整数A+B (15 分) 题的目标很简单,就是求两个正整数A和B的和,其中A和B都在区间[1,1000]。稍微有点麻烦的是,输入并不保证是两个正整数。 输入格 阅读全文
posted @ 2019-03-13 17:23 Albert_liu 阅读(428) 评论(0) 推荐(0)