蓝桥杯2015年第六届真题-穿越雷区-题解(C++代码) ###解题思路:bfs模板题,从A向四个方向出发,如果下一个位置的符合和当前相同并且没有越界也没有来过,那么就可以去到下一个位置。```cpp#include#definexfirst#defineysecond#definemem(h)memset(h, 题解列表 2020年10月09日 0 点赞 0 评论 1056 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区-题解(Java代码) ```javaimportjava.util.Scanner;publicclassMain{publicstaticchar[][]map=newchar[101][101];publicstaticint[][]vis=newint[101][101];publicstaticintn, 题解列表 2020年02月22日 0 点赞 0 评论 1413 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区 (C++代码) 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <algorithm> #includ…… 题解列表 2018年12月12日 0 点赞 0 评论 1041 浏览 评分: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 评论 2095 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区 (C++代码) 摘要:#include<iostream> #include<algorithm> #include<queue> using namespace std; const int MAXN=101; …… 题解列表 2018年09月06日 0 点赞 0 评论 1493 浏览 评分:0.0
蓝桥杯2015年第六届真题-穿越雷区 (C语言代码) 摘要:解题思路:利用广搜遍历注意事项:由于’+‘‘-’不便于判断,所以将它们改成1,-1用于判断参考代码:#include<stdio.h>struct op{ int x; int y; int p; i…… 题解列表 2018年07月17日 0 点赞 0 评论 1389 浏览 评分:0.0