优质题解 JakeLin-题解1923:蓝桥杯算法提高VIP-学霸的迷宫 (C++代码) 摘要:> 本道题是迷宫问题,这里使用BFS(广度优先遍历)求解 - 需先理解BFS: **图的BFS(广度优先遍历)可以理解为树的遍历中的层次遍历,它是从起点开始向外一层一层遍历的,如下图:** …… 题解列表 2020年02月06日 0 点赞 8 评论 1262 浏览 评分:9.0
A+B for Input-Output Practice (IV)-题解(C语言代码) 摘要: #include "stdio.h" int main() { int a,i,sum; while(1) { sum=0; scanf("%d",&a);…… 题解列表 2020年02月06日 0 点赞 0 评论 841 浏览 评分:0.0
蓝桥杯2015年第六届真题-奇怪的数列 (C++代码) 摘要:# 小白一个,代码有不足的地方希望各位给出建议 参考代码: #include #include using namespace std; int main(…… 题解列表 2020年02月06日 0 点赞 0 评论 933 浏览 评分:9.9
字符逆序-题解(C语言代码) 摘要: #include "stdio.h" #include "string.h" int main() { char str[99]; int t,i; ge…… 题解列表 2020年02月06日 0 点赞 0 评论 1051 浏览 评分:0.0
蓝桥杯算法提高VIP-模拟计算器-题解(C语言代码) 摘要:```c #include #include #include #include void main() { int a,b; char c; scanf("%d%d %c",…… 题解列表 2020年02月06日 0 点赞 0 评论 671 浏览 评分:0.0
优质题解 迷宫问题-题解(C/C++)-BFS(附图详细解析) 摘要:> 本道题是迷宫问题,这里使用BFS(广度优先遍历)求解 - 需先理解BFS: **图的BFS(广度优先遍历)可以理解为树的遍历中的层次遍历,它是从起点开始向外一层一层遍历的,如下图:** …… 题解列表 2020年02月06日 0 点赞 1 评论 2564 浏览 评分:9.7
蓝桥杯基础练习VIP-时间转换-题解(C语言代码) 摘要: #include "stdio.h" int main() { int a,h,m,s; scanf("%d",&a); h=(a/3600); m=((a-h*36…… 题解列表 2020年02月06日 0 点赞 0 评论 511 浏览 评分:0.0
蓝桥杯算法提高VIP-输出九九乘法表-题解(C语言代码)简单 摘要:这里格式是真很无语要完全一样 #include //为了方便大家,我就把源码放出来了 int main (int argc, const char *argv[]) …… 题解列表 2020年02月06日 0 点赞 0 评论 1715 浏览 评分:9.9
蓝桥杯算法提高VIP-夺宝奇兵-题解(Python代码)python开荒柘,dp法 摘要:简单题,代码如下 ```python n=int(input()) M=[] k=0 dp=[] while k…… 题解列表 2020年02月06日 0 点赞 0 评论 1296 浏览 评分:6.0
蓝桥杯算法训练VIP-数位分离-题解(Python代码)python开荒柘,一行! 摘要:代码非常简单 ```python print(' '.join(list(input().split()[0]))) ``` 做切割是因为害怕出现空格,之前被坑了n次了 字数又不够,陈总管水…… 题解列表 2020年02月06日 0 点赞 0 评论 929 浏览 评分:6.0