dfs,bfs搜索
文章平均质量分 81
_lixiyi_
这个作者很懒,什么都没留下…
展开
-
HDU 2553 N皇后问题 dfs回溯+打表
N皇后问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 21770 Accepted Submission(s): 9741Problem Description 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个原创 2017-03-07 21:04:15 · 245 阅读 · 0 评论 -
POJ 2312 Battle City 优先队列+bfs
Battle CityTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 8597 Accepted: 2882 DescriptionMany of us had played the game “Battle city” in our childhood, and some people (like me)原创 2017-03-07 20:17:01 · 245 阅读 · 0 评论 -
HDU 1495 非常可乐 dfs两个杯子的状态
非常可乐Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 13223 Accepted Submission(s): 5308Problem Description大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么原创 2017-03-07 18:02:41 · 482 阅读 · 0 评论 -
HDU 5546 dfs深搜四连块
Ancient GoProblem Description Yu Zhou likes to play Go with Su Lu. From the historical research, we found that there are much difference on the rules between ancient go and modern go.Here is the r原创 2017-03-02 20:40:56 · 377 阅读 · 0 评论 -
HDU1010 dfs奇偶剪枝
Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 116557 Accepted Submission(s): 31603Problem Description The doggie found原创 2017-03-02 23:22:17 · 255 阅读 · 0 评论 -
POJ1129 dfs涂色
Channel AllocationTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 15222 Accepted: 7721 DescriptionWhen a radio station is broadcasting over a very large area, repeaters are use原创 2017-03-03 00:10:33 · 300 阅读 · 0 评论 -
HDU 1728 逃离迷宫 bfs 限制k次转弯
逃离迷宫Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 25472 Accepted Submission(s): 6220Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,原创 2017-03-07 17:12:05 · 341 阅读 · 0 评论 -
HDU 1539 Shredding Company dfs枚举每位数字的空格
Shredding CompanyTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 682 Accepted Submission(s): 225Problem Description You have just been put原创 2017-03-09 00:47:22 · 243 阅读 · 0 评论