整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); if(a>b) printf(">"); else …… 题解列表 2023年03月07日 0 点赞 0 评论 483 浏览 评分:0.0
1056: 二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n,f; scanf("%lf",&n); f=(n-32)*5/9; printf("%.2lf…… 题解列表 2023年03月07日 0 点赞 0 评论 667 浏览 评分:0.0
暴力解法,最大限度减低难度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,ge; scanf("%d",&n);//遍历把每一位个位数字拿出来 for(in…… 题解列表 2023年03月06日 0 点赞 0 评论 619 浏览 评分:9.9
解法有很多,多思考进步才会大(简单解法) 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int m,sum,n; scanf("%d",&m); //m肯定比n大 这样就能很…… 题解列表 2023年03月06日 0 点赞 1 评论 552 浏览 评分:9.9
自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void fun(char a[]) ;int main(){ char a[4]; gets(a); fun(a); …… 题解列表 2023年03月06日 0 点赞 0 评论 519 浏览 评分:9.9
c语言题解c语言题解c语言题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<string.h>int main(){ long long i,j,n,p=0…… 题解列表 2023年03月06日 0 点赞 0 评论 697 浏览 评分:0.0
不要想太多,这样简单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int a,int b){ int s; s=a%b; while(s!=0) { …… 题解列表 2023年03月06日 0 点赞 6 评论 403 浏览 评分:0.0
044: [编程入门]三个字符串的排序——极限strcmp 摘要:解题思路:注意事项:参考代码:#include<string.h>int main(){ char str1[100],str2[100],str3[100]; char m1[100],m2[100…… 题解列表 2023年03月06日 0 点赞 0 评论 451 浏览 评分:9.9
注意:两次相加 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int sn=0,a=2,aa=0; fo…… 题解列表 2023年03月06日 0 点赞 0 评论 579 浏览 评分:0.0
解法有很多,多思考进步才会大(简单解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,sum=0; scanf("%d",&a); //比如有4个小朋友分苹果,最小的…… 题解列表 2023年03月06日 0 点赞 0 评论 526 浏览 评分:0.0