题解 1055: 二级C语言-进制转换 摘要:解题思路:没啥好说的,不明白为什么会放到数组的课后题。参考代码:#include<stdio.h> int main(void){ int num; scanf("%d",&num); …… 题解列表 2022年08月09日 0 点赞 0 评论 336 浏览 评分:0.0
可以使用递归的思想输出正反序列 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "math.h"void fun(int p,int a){ if(p==0) return ; if(…… 题解列表 2022年08月08日 0 点赞 0 评论 383 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转(C) 摘要:解题思路:a=123abc ->exchang()->b=cba321->strcat()注意事项:b[j] = '\0';参考代码:#include<stdio.h> #inclu…… 题解列表 2022年08月08日 0 点赞 0 评论 236 浏览 评分:0.0
C# 蓝桥杯算法提高VIP-扑克排序 摘要:```cpp #include using namespace std; struct fun { char qw; char qe; int qa; int qs; }; …… 题解列表 2022年08月08日 0 点赞 0 评论 500 浏览 评分:0.0
1052: [编程入门]链表合并 摘要:解题思路:注意事项:结构体使用,结构体指针参考代码:#include<stdio.h> #include<malloc.h> typedef struct Node { int sn…… 题解列表 2022年08月08日 0 点赞 0 评论 312 浏览 评分:0.0
蓝桥杯2017年第八届真题-合根植物(C++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e6 + 5;int p[N];int getFath…… 题解列表 2022年08月08日 0 点赞 0 评论 400 浏览 评分:0.0
1059: 二级C语言-等差数列 摘要:解题思路:sum=2+5+8+11+14+…,输入正整数n,求sum的前n项和。根据题目要求,我们需要 元素个数 元素各值 数列之和 三个量 以及通项公式的计算(笑)注意事项:当for语句中i…… 题解列表 2022年08月08日 0 点赞 0 评论 403 浏览 评分:0.0
蓝桥杯2017年第八届真题-发现环(并查集, DFS) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 7;int p[N];bool vis[N]…… 题解列表 2022年08月08日 0 点赞 0 评论 441 浏览 评分:0.0
题解 1026: [编程入门]数字逆序输出(C) 摘要:解题思路:就是个输入输出的考察,没啥好说的,上代码注意不要像我一样,自以为是给数据从大到小排序,输出就好了参考代码:#include<stdio.h> int main(void){ int…… 题解列表 2022年08月08日 0 点赞 0 评论 461 浏览 评分:9.9