![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
广搜bfs
一七得七
这个作者很懒,什么都没留下…
展开
-
CF 500 A New Year Transportation
题目连接:点击打开链接 A. New Year Transportation time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output New Year is comin原创 2016-08-31 15:36:04 · 419 阅读 · 0 评论 -
cf 520 B. Two Buttons bfs
连接:点击打开链接 B. Two Buttons time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vasya has found a strange devic原创 2016-08-31 21:25:24 · 582 阅读 · 0 评论 -
石油大oj 1825奇怪的电梯 bfs
链接:http://exam.upc.edu.cn/problem.php?id=1825 题目描述 呵呵,有一天我做了一个梦,梦见了一种很奇怪的电梯。大楼的每一层楼都可以停电梯,而且第i层楼(1 输入 输入共有二行,第一行为三个用空格隔开的正整数,表示N,A,B(1≤N≤200, 1≤A,B≤N),第二行为N个用空格隔开的正整数,表示Ki。 输出 输出仅一行,即最少按键次原创 2016-08-13 10:57:42 · 2755 阅读 · 0 评论 -
poj3984 迷宫问题 bfs
链接:http://poj.org/problem?id=3984 迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16884 Accepted: 10073 Description 定义一个二维数组: int maze[5][5] = {原创 2016-10-27 21:28:17 · 447 阅读 · 2 评论 -
poj 3278 Catch That Cow bfs
链接:http://poj.org/problem?id=3278 Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 78862 Accepted: 24869 Description Farmer John has b原创 2016-11-02 20:02:20 · 269 阅读 · 0 评论