1052 链表合并(输出是用二维数组的,链表排序不会) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct student { int a; …… 题解列表 2024年05月24日 0 点赞 0 评论 526 浏览 评分:0.0
求长方形面积 摘要:参考代码:#include<stdio.h>int main(){ int a,b; int C=0,S=0; scanf("%d%d",&a,&b); C=2*(a+b); S=a*b; print…… 题解列表 2024年05月24日 0 点赞 1 评论 1291 浏览 评分:6.0
1051成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct student{ char xuehao[20]; char xinming[20]; int a; in…… 题解列表 2024年05月23日 0 点赞 0 评论 429 浏览 评分:0.0
1050成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct student{ char xuehao[20]; char xinming[20]; int a; in…… 题解列表 2024年05月23日 0 点赞 0 评论 411 浏览 评分:0.0
1049时间设计(结构体实现) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct shijian{ int nian; int yue; int ru;}shijian;int main(…… 题解列表 2024年05月23日 0 点赞 0 评论 457 浏览 评分:0.0
1048字符串拷贝(strncpy函数的使用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ int n; scanf("%d ",&…… 题解列表 2024年05月23日 0 点赞 0 评论 712 浏览 评分:0.0
1951:求平方和 摘要:参考代码:#include<stdio.h>#include<math.h>int main(){int a=3;int b=4; scanf("%d%d",&a,&b); printf(…… 题解列表 2024年05月23日 0 点赞 0 评论 952 浏览 评分:9.9
利润计算(c语言) 摘要:解题思路:将利润除以100000,所得数使用switch函数进行选择。注意事项:参考代码:#include int main(){ int i,t; scanf("%d",&i); int…… 题解列表 2024年05月22日 0 点赞 0 评论 601 浏览 评分:9.9
1047 报数问题(一维数组遍历求解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n+2]; for(int i=1;i<=n;i++)…… 题解列表 2024年05月22日 0 点赞 0 评论 443 浏览 评分:0.0
二级C语言——平均值计算 摘要:解题思路:先在循环中把十个数输入并加起来,之后在另一个循环中挨个跟平均数比较,用k统计大于平均数的数;注意事项:需要使用float参考代码:#include <stdio.h>int main(){ …… 题解列表 2024年05月22日 4 点赞 0 评论 1317 浏览 评分:9.9