上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 87 下一页
摘要: int MaxSubSum3(int *arr, int len) { int i; long long MaxSum = 0; long long CurSum = 0; for(int i = 0; i MaxSum) MaxSum = CurSum; if(CurSum < 0) CurSum = 0; } return MaxSum; } 阅读全文
posted @ 2019-04-09 20:30 丧心病狂工科女 阅读(240) 评论(0) 推荐(0) 编辑
摘要: A - Cooking Competition "Miss Kobayashi's Dragon Maid" is a Japanese manga series written and illustrated by Coolkyoushinja. An anime television serie 阅读全文
posted @ 2019-04-09 20:09 丧心病狂工科女 阅读(238) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/group-anagrams/ Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The 阅读全文
posted @ 2019-04-09 11:43 丧心病狂工科女 阅读(102) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/insert-interval/ Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary) 阅读全文
posted @ 2019-04-09 10:31 丧心病狂工科女 阅读(183) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=2195 Description On a grid map there are n little men and n houses. In each unit time, every little man can move one unit st 阅读全文
posted @ 2019-04-08 20:43 丧心病狂工科女 阅读(137) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2255 Problem Description 传说在遥远的地方有一个非常富裕的村落,有一天,村长决定进行制度改革:重新分配房子。这可是一件大事,关系到人民的住房问题啊。村里共有n间房间,刚好有n家老百姓,考虑到每 阅读全文
posted @ 2019-04-08 14:39 丧心病狂工科女 阅读(108) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1083 Problem Description Consider a group of N students and P courses. Each student visits zero, one or more 阅读全文
posted @ 2019-04-08 13:19 丧心病狂工科女 阅读(132) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2063 Problem Description RPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做pa 阅读全文
posted @ 2019-04-08 12:50 丧心病狂工科女 阅读(188) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3041 Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 阅读全文
posted @ 2019-04-08 11:51 丧心病狂工科女 阅读(149) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1139 A. Even Substrings You are given a string s=s1s2…sns=s1s2…sn of length nn, which only contains digits 11, 22, ...,  阅读全文
posted @ 2019-04-07 19:53 丧心病狂工科女 阅读(150) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 87 下一页