You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2018-05-30 00:22:16
阅读次数:
187
Deck at your house is not just extension of your living space; a good deck is indeed center of attraction of your house. Wood decks are exposed and ex ...
分类:
其他好文 时间:
2018-05-28 14:52:55
阅读次数:
204
Americans are accustomed to have decks in their houses. Decks add beauty and life to the exterior of a house. They symbolize the personality of the ho ...
分类:
其他好文 时间:
2018-05-28 14:45:28
阅读次数:
151
House Man Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3174 Accepted Submission(s): 1325 Probl ...
分类:
其他好文 时间:
2018-05-26 10:40:55
阅读次数:
155
"Holiday is coming, holiday is coming, hurray hurray!" shouts Joke in the last day of his college. On this holiday, Joke plans to go to his grandmothe ...
分类:
其他好文 时间:
2018-05-25 23:36:32
阅读次数:
337
题目大意: 一个平面直角坐标系中有给定的$n(n\le50)$个红点和$m(m\le50)$个蓝点,每个点可以选择画一个半径为$r$(所有的$r$相同)的圆或不画。圆的半径上限为$R(R\le1000)$。且不同颜色的点所画成的圆不能相交,问所有圆面积的和最大是多少? 思路: 枚举每一对不同颜色的点 ...
分类:
其他好文 时间:
2018-05-21 12:27:46
阅读次数:
181
class Lz(object): def __init__(self): self.money=1000000000000 self.house='大别野' def sing(self): print('唱歌') def dance(self): print('跳广场舞') def lm(self ...
分类:
其他好文 时间:
2018-05-20 16:42:09
阅读次数:
189
Just_Do_IT! N:8A:8B:7C:6D:8总分:37 Miracle-House N:8A:8B:7C:6D:8总分:37 Miracle-House N:8A:6B:7C:6D:8总分:35 Spring_Four N:8A:6B:7C:6D:8总分:35 Spring_Four N: ...
分类:
其他好文 时间:
2018-05-02 13:11:28
阅读次数:
209
2018-04-29 20:20:56 House Robber问题是leetcode上经典的系列题,这里对其中的题目做一个讲解。 198. House Robber 198. House Robber 问题描述: 问题求解: 本质上就是求解不连续取数的情况下能获得最大价值。可以使用动态规划来解决。 ...
分类:
其他好文 时间:
2018-04-30 19:47:25
阅读次数:
143
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2018-04-20 22:08:09
阅读次数:
144