蓝桥杯算法训练VIP-黑色星期五-题解(C语言代码) 摘要:```cpp #include using namespace std; int M[13] = {0,31,28,31,30,31,30,31,31,30,31,30,31}; int ma…… 题解列表 2020年12月06日 0 点赞 0 评论 962 浏览 评分:6.0
蓝桥杯算法训练VIP-反置数-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int m,n,sum1=0,sum2=0,sum=0,sum3,i,j; scanf("%d%d",&m,&n); i=m; j=n; wh…… 题解列表 2020年12月05日 0 点赞 0 评论 1024 浏览 评分:9.9
蓝桥杯算法提高VIP-递归倒置字符数组-题解(C语言代码) 摘要:#include<stdio.h>int main(){ char a[1000],temp; int n,i; scanf("%d",&n); getchar(); gets(a); for(i=0…… 题解列表 2020年12月05日 0 点赞 1 评论 934 浏览 评分:8.7
蓝桥杯算法提高VIP-质因数2-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int n,i,j,k=0; int a[100]; scanf("%d",&n); i=n; while(i>0){ for(j=2;j<…… 题解列表 2020年12月05日 0 点赞 0 评论 1471 浏览 评分:9.9
蓝桥杯算法提高VIP-质因数-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int n,i,j,k=0; int a[100]; scanf("%d",&n); i=n; while(i>0){ for(j=2;j<…… 题解列表 2020年12月05日 0 点赞 0 评论 661 浏览 评分:9.9
优质题解 ✔✔✔蛇形矩阵16行满分题解[C++] 摘要: ```cpp #include using namespace std; int mai…… 题解列表 2020年12月05日 1 点赞 27 评论 4805 浏览 评分:9.5
蓝桥杯算法提高VIP-素数求和-题解(C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int n,i,j,flag;long sum=0; scanf("%d",&n); for(i=2;i<=n…… 题解列表 2020年12月05日 0 点赞 0 评论 796 浏览 评分:9.9
蓝桥杯算法提高VIP-最长单词-题解(C语言代码) 摘要:#include<stdio.h>#include<string.h>int main(){ char a[100000]; int n,i,j,max=0,count=0; gets(a); n=s…… 题解列表 2020年12月05日 0 点赞 0 评论 991 浏览 评分:9.3
C语言训练-数字母-题解(C语言代码) 摘要:解题思路:注意事项:注意大于等于;参考代码:#include <stdio.h>#include <string.h>int main(){ char a[100]; int i,b,n; b=0; …… 题解列表 2020年12月05日 0 点赞 0 评论 693 浏览 评分:0.0
✔✔✔DFS记忆化搜索[C++] 摘要:在普通Dfs的基础上添加了一个记录每次返回结果的数组,相比一般暴力递归可以大幅提升执行效率。 *“记忆化搜索”在搜索类题型中很常用!* ```cpp #include using names…… 题解列表 2020年12月05日 0 点赞 0 评论 817 浏览 评分:8.7