题目链接: Wall Painting Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2681 Accepted Submission(s): ...
分类:
其他好文 时间:
2016-10-02 00:20:11
阅读次数:
162
There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai ...
分类:
其他好文 时间:
2016-09-22 09:52:03
阅读次数:
120
标签: 动态规划 题目描述: There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color i ...
分类:
其他好文 时间:
2016-09-10 06:43:57
阅读次数:
237
Portal:http://codeforces.com/problemset/problem/448/C 如果只考虑对全部n个木板竖刷,需要n次刷完,是ans理论上的最大值。 如果我们选择横刷,那么至少要刷掉最高度低的木板,否则得到的答案一定比全部竖刷大 所以对n个木板刷的最小次数就是n与刷掉最低 ...
分类:
其他好文 时间:
2016-09-04 10:07:47
阅读次数:
156
There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. Yo ...
分类:
其他好文 时间:
2016-09-03 08:37:28
阅读次数:
115
Line Painting Time limit: 2.0 secondMemory limit: 64 MB The segment of numerical axis from 0 to 109 is painted into white color. After that some parts ...
分类:
其他好文 时间:
2016-08-31 22:31:19
阅读次数:
215
原题地址:http://codeforces.com/problemset/problem/448/C 题意: 略 题解 略 ...
分类:
其他好文 时间:
2016-08-22 21:31:59
阅读次数:
153
Life is painting a picture, not doing a sum. 生活就像是绘画,而不是做算术。 I am too serious about digits. All what I do must be measurable, otherwise I will feel fr ...
分类:
其他好文 时间:
2016-08-18 01:07:51
阅读次数:
123
We have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of these colors. ...
分类:
其他好文 时间:
2016-08-18 00:57:30
阅读次数:
163
Laura Luo has just invented a game. Given a beautiful pencil sketch with n points, you're to colorize it with water pens by painting circuits. Each ti ...
分类:
其他好文 时间:
2016-08-08 21:05:04
阅读次数:
183