摘要: Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s 阅读全文
posted @ 2022-05-14 20:13 JerryTang菜菜 阅读(37) 评论(0) 推荐(0)
摘要: Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in th 阅读全文
posted @ 2022-05-14 19:19 JerryTang菜菜 阅读(27) 评论(0) 推荐(0)
摘要: Give you N integers a1, a2 ... aN (|ai| <=1000, 1 <= i <= N). You should output S. Input The input will consist of several test cases. For each test c 阅读全文
posted @ 2022-05-14 19:01 JerryTang菜菜 阅读(35) 评论(0) 推荐(0)