
bfs暴搜
文章平均质量分 86
cloudy_happy
像我这样优秀的人,不该平凡过一生
展开
-
Lightoj1141 Number Transformation(bfs暴搜)
Number Transformation In this problem, you are given an integer number s. You can transform any integer number A to another integer number B by adding x to A. This x is an integer number which is a ...原创 2018-07-31 22:46:48 · 165 阅读 · 0 评论 -
hduoj1242 Rescue (bfs暴搜)
Rescue Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison. Angel's frie...原创 2018-07-31 22:51:40 · 215 阅读 · 0 评论 -
poj2313 Battle City BFS
Battle City Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on computer now. What we are discussing is a simple edition of this ga...原创 2018-07-31 22:58:37 · 183 阅读 · 0 评论 -
openjudge2971 (poj3278) Catch That Cow (bfs)
Catch That Cow 农夫知道一头牛的位置,想要抓住它。农夫和牛都于数轴上 ,农夫起始位于点 N(0<=N<=100000) ,牛位于点 K(0<=K<=100000) 。农夫有两种移动方式: 1、从 X移动到 X-1或X+1 ,每次移动花费一分钟 2、从 X移动到 2*X ,每次移动花费一分钟 假设牛没有意识到农夫的行动,站在原地不。最少要花多少时间才能抓...原创 2018-07-31 23:05:30 · 124 阅读 · 0 评论 -
hduoj1372 Knight Moves 暴搜bfs
Knight Moves Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13490 Accepted Submission(s): 7894 Problem Description A ...原创 2018-08-01 00:52:42 · 146 阅读 · 0 评论