怎么就两组测试数据啊? 摘要:还有哪里能提交吗?????????????????????????????????????????????????????????????????????????…… 题解列表 2021年03月30日 0 点赞 1 评论 160 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜-题解(C++代码) 摘要:### 解题思路:搜索每一天能到达右下角点的路径,经过每一个位置时,给它的x、y都加上1的贡献,最后到达右下角时,如果x、y的值等于输入的箭靶的数目则为正确答案 ```cpp #include…… 题解列表 2020年10月11日 0 点赞 0 评论 704 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜-题解(C++代码) 摘要:``` #include using namespace std; int n; int row[1005]; int col[1005]; int dir[4][2]={{1,0}…… 题解列表 2020年07月04日 0 点赞 0 评论 519 浏览 评分:0.0
蓝桥杯 路径之谜 DFS 摘要:# 路径之谜 DFS ## 完整代码 (AC) ```cpp #include #include using namespace std; const int maxn = 25; …… 题解列表 2020年03月15日 0 点赞 0 评论 401 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜-题解(C++代码) 摘要: 我的思路是先dfs搜索所有从起点到终点的路径,并把路径经过的坐标标记和按顺序存储在数组中,之后行列与2N个靶相比对是否相等,如果均相等,才会输出之前存储在数组中的值。 ```cpp #in…… 题解列表 2020年02月14日 0 点赞 0 评论 511 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int vis[100][100]; int bei[100]; int xi[100]; int xy[4][2]={{-1…… 题解列表 2019年05月20日 0 点赞 0 评论 599 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iterator>#include<stdio.h>#include<iomanip>#include<string…… 题解列表 2019年03月23日 0 点赞 0 评论 673 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static int n; public static…… 题解列表 2019年03月23日 0 点赞 0 评论 553 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static int n; public static…… 题解列表 2019年03月23日 0 点赞 0 评论 512 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜 (C++代码) 摘要:解题思路:首先这是题DFS,题目给出了几个限制条件,就和普通的DFS没什么区别吧注意事项:要记得判断箭数是否匹配参考代码:#include<bits/stdc++.h> using namespac…… 题解列表 2019年03月05日 0 点赞 0 评论 513 浏览 评分:0.0