BFS
文章平均质量分 86
jerans
这个作者很懒,什么都没留下…
展开
-
fzuoj 2150 Fire Game BFS
Problem 2150 Fire Game Accept: 1894 Submit: 6719 Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description Fat brother and Maze are playing a kind of special (hentai) game o原创 2017-02-09 00:22:29 · 364 阅读 · 0 评论 -
CodeForces-540C//Codeforces Round #301 (Div. 2)C BFS
C. Ice Cave time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You play a computer game. Your character stands原创 2017-02-10 22:54:33 · 290 阅读 · 0 评论 -
qduoj 帅气的HYC迷路了
帅气的HYC迷路了 发布时间: 2015年11月1日 17:02 最后更新: 2015年11月1日 18:40 时间限制: 1000ms 内存限制: 128M 描述 有一天, 我们帅气的HYC找到了一张藏宝图, 这张图很神奇, 只要你看它一眼, 立马就会被传送到一个迷宫里, 这个迷宫仅有一个出口.那么现在问题来啦, 问你找到这个出口需要走多少步? 现在原创 2016-12-11 17:10:51 · 274 阅读 · 0 评论 -
B - 胜利大逃亡(续) HDU - 1429 bfs
胜利大逃亡(续) Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8642 Accepted Submission(s): 3117 Problem Description Ignatius再次被魔王抓走了(搞不懂他原创 2017-05-25 21:32:23 · 366 阅读 · 0 评论 -
HihoCoder 1233 Boxes BFS
https://hihocoder.com/problemset/problem/1233 题意:有很多个大小不同的盒子,排成一排,可以类似汉诺塔一样的移动他们,每次只能移动每个位置最顶上的那个盒子,只能移动到和他相邻的位置上去,并且是小盒子只能放在大盒子上面,问最后把这些盒子排成一个大小从小到大的顺序,需要的最少的次数,如果不可以,输出-1 想到是状态压缩从终点往回BFS预处理,但想歪了压缩原创 2017-10-11 20:52:35 · 220 阅读 · 0 评论 -
hihocoder1426||UVALive - 7672 What a Ridiculous Election
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5694 16北京现场赛题目 题意: 每次有三种可行操作 1:交换相邻两个数位 2:把某一个数位加1,取模10 3:把某一个数位乘2,取模10 2操作最多能用3次,3操作最多能用2原创 2017-11-11 22:24:42 · 275 阅读 · 0 评论