霜山雨迟
霜山雨迟
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
霜山雨迟的博客
全部文章
(共248篇)
题解 | 小乐乐找最大数
#include <stdio.h> int main() { int a,b,c,d; scanf("%d %d %d %d",&a,&b,&c,&d); int MAX =(a>b)?a:b; MAX...
2025-11-04
0
39
题解 | 健康评估
#include <stdio.h> #include <math.h> int main() { float weight,height,BMI; scanf("%f %f",&weight,&height); B...
2025-11-04
0
38
题解 | 四季
#include <stdio.h> int main() { int input; scanf("%d",&input); int month = input %100; if(month>=3 && ...
2025-11-04
0
46
题解 | 判断字母
#include <stdio.h> int main() { char input; scanf("%c",&input); int b =(int)input; if((b>=65 && b <=90)...
2025-11-04
0
36
题解 | 判断闰年
#include <stdio.h> int main() { int n; scanf("%d",&n); if( n>=1 && n<=2018){ if(n % 400==0 ||( ...
2025-11-04
0
26
题解 | 牛牛的判断题
#include <stdio.h> int main() { int x,l,r; scanf("%d %d %d",&x,&l,&r); if( x>= l && x<=r ){ ...
2025-11-04
0
41
题解 | 判断是元音还是辅音
#include <stdio.h> int main() { char letter[10] = { 'A', 'E', 'I', 'O', 'U', 'a', 'e', 'i', 'o', 'u'}; char input; int found = 0; ...
2025-11-04
0
31
题解 | 判断整数奇偶性 优化版 三种写法
#include <stdio.h> int main() { int a = 0; while(~scanf("%d",&a)){ if(a%2==0){ printf("Even\n"); ...
2025-11-04
0
35
题解 | 判断整数奇偶性
#include <stdio.h> int main() { int number; while(scanf("%d",&number) != EOF){ if( number % 2 == 0){ printf(&qu...
2025-11-04
0
33
题解 | 及格分数
#include <stdio.h> int main() { int grade; int isvalid = 0; while(scanf("%d",&grade) != EOF){ if( grade >= 60)...
2025-11-04
0
29
首页
上一页
16
17
18
19
20
21
22
23
24
25
下一页
末页