蓝桥杯算法提高VIP-超级玛丽-题解(递归函数实现) 摘要:``` #include using namespace std; int road[50],tot; void Times(int i,int n){ if(i==n) { tot++…… 题解列表 2019年10月28日 0 点赞 0 评论 1068 浏览 评分:9.9
[编程入门]自定义函数之整数处理-题解(C语言代码) 摘要:```c #include void x(int a[10]) { for(int i=0; i…… 题解列表 2019年10月28日 0 点赞 2 评论 337 浏览 评分:0.0
The 3n + 1 problem -题解(C语言代码) 摘要:我是看了评论才注意到i,j输出的问题。但是我还有一个问题,输入1和1000000就得不到答案了,还想请教各位大佬。 ```c #include int fun(int m) { …… 题解列表 2019年10月28日 0 点赞 0 评论 438 浏览 评分:0.0
小白可看!!!dp算法入门——数字三角形 摘要:安利一发自己的博客:我是蒟蒻,请轻喷。 [https://blog.csdn.net/weixin_43738764](https://blog.csdn.net/weixin_43738764) …… 题解列表 2019年10月28日 0 点赞 0 评论 809 浏览 评分:0.0
[编程入门]三个字符串的排序-题解(C语言代码) 摘要: 1、字符串比较大小的函数strcmp(char *a, char *b) a) a == b 返回0 b) a < b 返回负值 c) a > b 返回正…… 题解列表 2019年10月28日 0 点赞 0 评论 863 浏览 评分:6.0
蓝桥杯算法提高VIP-现代诗如蚯蚓 (逐一匹配) 摘要:``` #include #include using namespace std; int Pair_str(char a[],int n){ for(int j=1;ja; int…… 题解列表 2019年10月28日 0 点赞 0 评论 805 浏览 评分:9.9
[编程入门]三个数字的排序-题解(C语言代码) 摘要:# (傻瓜算法)通过三个min,mid,max变量求出结果 解题思路: 1.首先通过max=min=a[0];将max和min初始化。 2.第二步通过一个for循环,求出三个数中的最小和最大数并…… 题解列表 2019年10月28日 0 点赞 0 评论 1128 浏览 评分:9.0
[编程入门]链表合并-题解(C++代码)。如果有疑问的话,欢迎在下方留言哦~! 摘要:```cpp #include #include typedef struct student { int snum; int grade; struct student *nex…… 题解列表 2019年10月28日 0 点赞 0 评论 710 浏览 评分:0.0
[编程入门]结构体之成绩统计2-题解(C++代码) 如果有问题欢迎在评论区指出哦~! 摘要:```cpp #include #define N 100 struct student { char a[100]; char b[100]; int c1,c2,c3; …… 题解列表 2019年10月28日 0 点赞 1 评论 680 浏览 评分:0.0