有一门课不及格的学生(使用||简化) 摘要:参考代码: ```c #include int main() { int a,b; scanf("%d%d",&a,&b); if((a=60)||(b=60))//有一门课不及格…… 题解列表 2023年09月06日 0 点赞 0 评论 442 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,x=0; int a[32]={0}; int b[32]={0}; scanf("%…… 题解列表 2023年09月06日 0 点赞 0 评论 406 浏览 评分:9.9
琴海——1045自定义函数之整数处理——超详细注释 摘要:解题思路:注意十个数中,第一个数是最大值以及最后一个数是最小值的情况。注意事项:注释很详细,看看注释参考代码:#include <stdio.h> #include <string.h> int …… 题解列表 2023年09月06日 0 点赞 1 评论 331 浏览 评分:6.7
看看得了,暴力求解 摘要:解题思路:我是小白,整体思路是两行字符串,从第一行字符串中第一个和第二行字符串第一个开始比较,相等一起往后移,并且计数加1,不相等第一行回到第一个字符串,第二行字符串回到最开始字符串加1的位置,又继续…… 题解列表 2023年09月06日 0 点赞 0 评论 516 浏览 评分:0.0
关于输出答案能过在件事(流汗) 摘要:#啊这这个题有点。。。注意事项:注意审题不知道为什么这样出题参考代码:print(200)…… 题解列表 2023年09月06日 0 点赞 1 评论 379 浏览 评分:9.9
邮票问题,C语言解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m=4,n=3; int ans,sum=0; for(int i=1;i<=m+n;i++){//总共…… 题解列表 2023年09月06日 0 点赞 0 评论 532 浏览 评分:4.0
求整数的和与均值 摘要:参考代码: ```c #include int main() { int n; scanf("%d",&n); int a; double sum=0; for(int i=…… 题解列表 2023年09月06日 0 点赞 1 评论 378 浏览 评分:0.0
优质题解 琴海——二级C语言-平均值——超详细注释 摘要:解题思路:先在循环中把十个数输入并加起来,之后在另一个循环中挨个跟平均数比较,用k统计大于平均数的数;注意事项:平均数可能会有小数,记得定义为float类型;参考代码:#include <stdio.…… 题解列表 2023年09月07日 3 点赞 14 评论 4064 浏览 评分:7.8
整数的个数 摘要:解题思路:注意事项:scanf_s改为scanf参考代码:int k,i; int a=0,b=0,c=0; int arr[1000]; scanf_s("%d",&k); for ( i = 0;…… 题解列表 2023年09月07日 0 点赞 0 评论 365 浏览 评分:0.0
信息学奥赛一本通T1176-谁考了第k名-题解(C语言代码排序) 摘要:解题思路:排序注意事项:参考代码:#include <stdio.h>struct stud{ char num[20]; float fen;}stu[1000],t;int main …… 题解列表 2023年09月07日 2 点赞 0 评论 1280 浏览 评分:7.3