DZY loves colors, and he enjoys painting.On a colorful day, DZY gets a colorful ribbon, which consists ofnunits (they are numbered from1tonfrom left t...
分类:
其他好文 时间:
2015-08-18 13:54:40
阅读次数:
210
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1610
Count the Colors
Time Limit: 2 Seconds Memory Limit: 65536 KB
Painting some colored segments on a line, some previousl...
分类:
其他好文 时间:
2015-08-18 12:05:58
阅读次数:
126
Problem Description
Eddy begins to like painting pictures recently ,he is sure of himself to become a painter.Every day Eddy draws pictures in his small room, and he usually puts out his newest pic...
分类:
编程语言 时间:
2015-08-17 17:19:11
阅读次数:
264
Safecracker
Problem Description
=== Op tech briefing, 2002/11/02 06:42 CST ===
"The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely ra...
分类:
其他好文 时间:
2015-08-17 14:04:54
阅读次数:
219
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1610
Description
Painting some colored segments on a line, some previously painted segments may be covered by some the subsequen...
分类:
其他好文 时间:
2015-08-17 12:10:53
阅读次数:
151
SafecrackerProblem Description=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behind a painting in the second-floor ...
分类:
其他好文 时间:
2015-08-07 19:29:24
阅读次数:
116
Problem C. Painting CottagesTime Limit: 2 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100342/attachmentsDescriptionThe new cottage settlement...
分类:
其他好文 时间:
2015-08-07 00:07:36
阅读次数:
264
Problem C. Painting CottagesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100342/attachmentsDescriptionThe new cottage settlemen...
分类:
其他好文 时间:
2015-08-06 20:04:55
阅读次数:
127
SafecrackerProblem Description=== Op tech briefing, 2002/11/02 06:42 CST === "The item is locked in a Klein safe behind a painting in ...
分类:
其他好文 时间:
2015-07-27 18:07:51
阅读次数:
109
题意:有一个n*n的墙,现在小明来刷墙,如果每一行每一列都至少有一个格子刷过了就停止工作,否则每次随机选一个格子,如果刷过了就不刷如果没刷过就刷,然后休息一分钟,求停止工作时时间的数学期望(开始之前已经有m个格子刷过了)
分析:概率dp
状态:dp[i][j]表示还有i行j列没刷,则它能转移到的状态是dp[i][j],dp[i-1][j-1],dp[i][j-1],dp[i-1][j-1]
...
分类:
其他好文 时间:
2015-07-24 18:35:52
阅读次数:
126