ACM-搜索
文章平均质量分 88
冷基栋_攻城师
这个作者很懒,什么都没留下…
展开
-
ZOJ 1002 Fire Net
ZOJ Problem Set - 1002Fire NetTime Limit: 2 Seconds Memory Limit: 65536 KBSuppose that we have a square city with straight streets. A map of a city is a square board with n rows and n原创 2016-04-05 19:44:07 · 316 阅读 · 0 评论 -
ZOJ 1079 Robotic Jigsaw
Statement of the ProblemYour task here is to write a program to aid in the assembly of a jigsaw puzzle by a robot.The puzzle is a rectangular array of flat four-sided pieces. Except for the outer原创 2016-04-06 12:42:28 · 577 阅读 · 0 评论 -
HDU 1342 Lotto
Problem DescriptionIn a Lotto I have ever played, one has to select 6 numbers from the set {1,2,...,49}. A popular strategy to play Lotto - although it doesn't increase your chance of winning - is原创 2016-04-07 21:11:54 · 522 阅读 · 0 评论 -
HDU 2612 Find a way (广搜,队列)
Find a wayTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9040 Accepted Submission(s): 2897Problem DescriptionPass a year lea原创 2016-04-12 16:55:45 · 758 阅读 · 0 评论 -
HDU 1016 Prime Ring Problem
Prime Ring ProblemTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 39784 Accepted Submission(s): 17541Problem DescriptionA rin原创 2016-04-13 19:28:13 · 524 阅读 · 0 评论 -
HDU 1241 Oil Deposits(DFS)
Oil DepositsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22278 Accepted Submission(s): 12839Problem DescriptionThe GeoSurv原创 2016-04-13 20:16:39 · 404 阅读 · 0 评论 -
北京林业大学“计蒜客”杯程序设计竞赛 网络赛 B. 大钉骑马走江湖 (广搜)
1000ms 32768K江湖是什么,对于在象棋界厮杀的大钉来说,江湖就是一个矩阵,他的目标,就是在江湖之中骑着马,从他的位置出发,走到终点。当然,大钉的马也遵从中国象棋中的“马走日”的规则,而且在矩阵中,也会有一些障碍物,马不能跳到障碍物上;如果大钉的马面前有障碍物,即被“别马腿”,那么他将不能跳向有障碍物的左前和右前这两个方向。请问最少需要多少步,大钉才能骑着马跳到终点。输原创 2016-04-24 14:02:35 · 1021 阅读 · 0 评论