题解列表

筛选

排序条件运算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c,max,min,m;scanf("%d%d%d",&a,&b,&c);max=a>b?a:b;……

春夏秋冬季节判断

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a);    switch (a){    case 1:    ca……

边长判断有手就行

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max,min,m; scanf("%d%d%d",&a,&b,&c); max=a>b?a……

考试评级 Switch 语句

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); y=x/10;  switch (y){ case 10: ……

分段计算题解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x);  if(x<3) y=2*x; else if(x<20) y……

母牛问题解决代码

摘要:解题思路:注意事项:参考代码:#include<iostream>    using namespace std;typedef long long ll;ll a[100005];int main(……

1119难不倒我的嘿嘿C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int a,b,c,x;scanf("%d",&x); if (x>=100&……