hdu5794 A Simple Chess 容斥+Lucas 从(1,1)开始出发,每一步从(x1,y1)到达(x2,y2)满足(x2−x1)^2+(y2−y1)^2=5, x2>x1,y2>y1; 其实就是走日字。而且是往(n,m)方向走的日字。还有r个障碍物,障碍物不可以到达。求(1,1)到(n,m)的路径条数。
posted @ 2017-05-21 12:35 hnust_accqx 阅读(1310) 评论(0) 推荐(0) 编辑
posted @ 2017-05-21 12:35 hnust_accqx 阅读(1310) 评论(0) 推荐(0) 编辑
posted @ 2017-05-21 10:13 hnust_accqx 阅读(2323) 评论(0) 推荐(0) 编辑
posted @ 2017-05-20 18:22 hnust_accqx 阅读(316) 评论(0) 推荐(0) 编辑
posted @ 2017-05-17 13:50 hnust_accqx 阅读(225) 评论(0) 推荐(0) 编辑
posted @ 2017-05-17 13:01 hnust_accqx 阅读(406) 评论(0) 推荐(0) 编辑
posted @ 2017-05-17 09:43 hnust_accqx 阅读(236) 评论(0) 推荐(0) 编辑
posted @ 2017-05-16 20:35 hnust_accqx 阅读(338) 评论(0) 推荐(0) 编辑
posted @ 2017-05-16 20:01 hnust_accqx 阅读(269) 评论(0) 推荐(0) 编辑
posted @ 2017-05-16 13:27 hnust_accqx 阅读(577) 评论(0) 推荐(0) 编辑
posted @ 2017-05-15 15:58 hnust_accqx 阅读(280) 评论(0) 推荐(0) 编辑