蓝桥杯2015年第六届真题-穿越雷区 (C++代码) 摘要:#include<iostream> #include<algorithm> #include<queue> using namespace std; const int MAXN=101; …… 题解列表 2018年09月06日 0 点赞 0 评论 851 浏览 评分:0.0
穿越雷区 BFS实现 摘要:解题思路: BFS实现穿越雷区最短路径,主要是地图的输入,以及起始、终点的坐标计算,然后应用模板实现。注意事项: &nbs…… 题解列表 2025年05月18日 0 点赞 0 评论 96 浏览 评分:0.0
1825: 蓝桥杯2015年第六届真题-穿越雷区-bfs 摘要: #include #include #include using namespace std; int n; char maze[105][1…… 题解列表 2024年03月31日 0 点赞 0 评论 269 浏览 评分:0.0
穿越雷区 BFS解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; const int N = 101; bool vis[N][N] =…… 题解列表 2022年07月07日 0 点赞 0 评论 168 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区-题解(C++代码) 摘要:### 解题思路:bfs模板题,从A向四个方向出发,如果下一个位置的符合和当前相同并且没有越界也没有来过,那么就可以去到下一个位置。 ```cpp #include #define x fi…… 题解列表 2020年10月09日 0 点赞 0 评论 525 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区 (C++代码) 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <algorithm> #includ…… 题解列表 2018年12月12日 0 点赞 0 评论 528 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; struct s{ int x,y,s; }q[1000]; cha…… 题解列表 2018年11月06日 0 点赞 0 评论 854 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区 (C++代码) 摘要:解题思路: 最普通的一道搜索题目,dfs跟bfs都能做,需要注意的是每一行的两个数据中间有空格。注意事项:参考代码:#include <iostream>#include <algo…… 题解列表 2019年02月09日 0 点赞 0 评论 751 浏览 评分:2.0
蓝桥杯2015年第六届真题-穿越雷区-题解(C++代码) 摘要:``` #include using namespace std; int n; char map[105][105]; int vis[105][105]; int dir[4][…… 题解列表 2020年07月01日 0 点赞 0 评论 571 浏览 评分:2.4
蓝桥杯2015年第六届真题-穿越雷区-题解(C++代码) 摘要:```cpp #include using namespace std; char graph[105][105]; bool visited[105][105]; int sx, sy,…… 题解列表 2020年03月03日 0 点赞 0 评论 641 浏览 评分:6.9