自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char str1[10],str2[10];scanf("%s",str1);scanf("%s",str2);…… 题解列表 2022年12月21日 0 点赞 0 评论 654 浏览 评分:8.0
太细了!!老六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> double sum(int x,int y); int main() { int a,b; scanf("%d%d",…… 题解列表 2022年12月21日 0 点赞 0 评论 646 浏览 评分:0.0
1585: 蓝桥杯算法训练VIP-链表数据求和操作(C语言) 摘要:解题思路:利用for循环创建链表并同时执行一次相加的操作,即边建立链表边求和注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Num{ in…… 题解列表 2022年12月21日 0 点赞 0 评论 468 浏览 评分:0.0
成绩排序!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct student{ char name[101]; int x; int y;};int…… 题解列表 2022年12月21日 0 点赞 0 评论 382 浏览 评分:0.0
[编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a[10]; int secm(int x[],int y); for(…… 题解列表 2022年12月21日 0 点赞 0 评论 434 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路: 注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a, b, c; scanf("%d%d%d", &a, &b, &c…… 题解列表 2022年12月21日 0 点赞 0 评论 600 浏览 评分:9.9
绝对值排序 入门级 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; while(~scanf("%d",&n)){//写全 或者写为s…… 题解列表 2022年12月21日 0 点赞 0 评论 416 浏览 评分:0.0
有错误请指出 摘要:解题思路:提前将收入定义为浮点型,方便后面计算注意事项:参考代码:#include <stdio.h>int main(){ int r,y; float m; scanf("%d %f %d",&r…… 题解列表 2022年12月21日 0 点赞 0 评论 810 浏览 评分:9.9
统计数字字符个数(简单法,同时富含知识讲解) 首先我们要知道一个非常重要的一个头文件,那就是ctype这个,因为这个可以用来统计我们像空格,字母,以及数字,还有我们其他的字符,所以这可以极大的缩短我们的用时,也可以降低我们的时间成本,因此我们现在看一下源码。另外本题目只是让我们统计数字, 题解列表 2022年12月21日 1 点赞 0 评论 1622 浏览 评分:9.9
C语言数组问题-遍历整个数组-时间复杂度O2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[100]={0}; int n,i; int cnt,count…… 题解列表 2022年12月21日 0 点赞 0 评论 591 浏览 评分:0.0