摘要: 通道:http://acm.hdu.edu.cn/showproblem.php?pid=4285题意:多回路, 有障碍K回路问题。代码: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 cons... 阅读全文
posted @ 2015-07-13 18:41 mithrilhan 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 通道:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3256题意:简单路径-左上角走到左下角的路径方案数。思路:M太大,需快速幂,预处理所有状态即可。代码: 1 #include 2 #include 3 #inclu... 阅读全文
posted @ 2015-07-13 13:55 mithrilhan 阅读(172) 评论(0) 推荐(0) 编辑