摘要: 题目:http://poj.org/problem?id=2513参考博客:http://blog.csdn.net/lyy289065406/article/details/6647445http://www.cnblogs.com/LK1994/p/3263462.html 1 #include... 阅读全文
posted @ 2013-08-24 20:39 水门 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4530dp[i]表示现在存在i个吸血鬼要达成目标(全为吸血鬼)天数的数学期望假如现在再增加一天,这一天可能会增加一个吸血鬼,p1*(dp[i+1]+1)表示接下来的一天增加了... 阅读全文
posted @ 2013-08-24 15:30 水门 阅读(147) 评论(0) 推荐(0) 编辑