三个整数排序 条件运算符用法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max,min,m; scanf("%d%d%d",&a,&b,&c); max=a>b?a…… 题解列表 2021年11月07日 0 点赞 0 评论 525 浏览 评分:6.0
考试评级 Switch 语句 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); y=x/10; switch (y){ case 10: …… 题解列表 2021年11月07日 0 点赞 0 评论 242 浏览 评分:2.0
分段计算题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<3) y=2*x; else if(x<20) y…… 题解列表 2021年11月07日 0 点赞 0 评论 275 浏览 评分:2.0
母牛问题解决代码 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std;typedef long long ll;ll a[100005];int main(…… 题解列表 2021年11月07日 0 点赞 0 评论 206 浏览 评分:0.0
【C语言】自定义函数处理素数【比较简洁,考虑全面】 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ void prime(int a); int n;scanf("%d",&n); prime(n);}void …… 题解列表 2021年11月07日 0 点赞 0 评论 637 浏览 评分:9.9
1119难不倒我的嘿嘿C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int a,b,c,x;scanf("%d",&x); if (x>=100&…… 题解列表 2021年11月07日 0 点赞 0 评论 214 浏览 评分:0.0
【c语言求解】【编程入门】自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double over(double a,double b,double c);…… 题解列表 2021年11月07日 0 点赞 0 评论 625 浏览 评分:7.0
1112我是服了,如果没有记得方程的简便解法,怎么写? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,x2,a,b,c,d,t; scanf("%lf…… 题解列表 2021年11月07日 0 点赞 0 评论 223 浏览 评分:0.0
1091 好家伙原来是空了两行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int a,b;while (~scanf("%d %d",&a,&b)) { printf("%d\n\n…… 题解列表 2021年11月07日 0 点赞 0 评论 244 浏览 评分:0.0
1018折磨我是不是C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ double t,g,i,a=1,b=1,x,y=0;scanf("%lf",&x); for (i=1…… 题解列表 2021年11月07日 0 点赞 0 评论 157 浏览 评分:0.0