Fork me on GitHub
摘要: 原题:ZOJ 3777 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3777题意:给每个题目安排在每个位置的value。有一个程序随机选择安排的顺序,总的value值大于等于m时,就可以接受这个安排。问能够获得一次满足条件... 阅读全文
posted @ 2014-07-01 21:35 whatbeg 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 原题: ZOJ 3785 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3785 题意:当天是星期六,问经过1^1+2^2+3^3....+n^n天后是星期几? 这题开始以为是这种式子的求和问题,翻了半天没翻到公式。结果没搞 阅读全文
posted @ 2014-07-01 21:15 whatbeg 阅读(240) 评论(0) 推荐(0) 编辑