可ACAC1111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) { int sum1=0,s…… 题解列表 2022年08月09日 0 点赞 0 评论 256 浏览 评分:0.0
题解 1063: 二级C语言-统计字符(C语言数组+for循环+gets()函数实现) 摘要:解题思路:上次是用while循环,getchar()函数进行输入,实现的统计,文章链接:https://blog.dotcpp.com/a/88928本次用的gets()函数向数组中写入数据,再用fo…… 题解列表 2022年08月09日 0 点赞 0 评论 467 浏览 评分:0.0
[编程入门]求和训练 常规做法 摘要:```c #include #include int main() { float a,b,c,i; float sum1=0,sum2=0,sum3=0; scanf("%f%f…… 题解列表 2022年08月09日 0 点赞 0 评论 433 浏览 评分:0.0
编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int fun(char a[],char b[]) { int l=s…… 题解列表 2022年08月09日 0 点赞 0 评论 397 浏览 评分:0.0
1676: 数据结构-链表的基本操作(待分析,分析明儿再说) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct Node { …… 题解列表 2022年08月09日 0 点赞 0 评论 511 浏览 评分:0.0
守望者的逃离 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,s,t;//魔法初值m,初始位置与岛的出口之间的距离s,岛沉没的时间t。 scanf("%d %d …… 题解列表 2022年08月09日 0 点赞 0 评论 419 浏览 评分:0.0
编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:用一个数组存放四位数的各个位上的数,再逆序输出注意事项:参考代码:#include <stdio.h> int kongge(int a) { int b[4]; …… 题解列表 2022年08月10日 0 点赞 0 评论 336 浏览 评分:0.0
编写题解 1035: [编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int tongji(char a[]) { int m,n,x,y; …… 题解列表 2022年08月10日 0 点赞 0 评论 465 浏览 评分:0.0
编写题解 1036: [编程入门]带参数宏定义练习 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int exchange(int m,int n) { int t; t=m;//交换 …… 题解列表 2022年08月10日 0 点赞 0 评论 381 浏览 评分:0.0
平均值计算以及求大于平均数的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int num[10]; int i, n, j = 0; int average = 0; int sum …… 题解列表 2022年08月10日 0 点赞 0 评论 414 浏览 评分:0.0