骏马H
骏马H
全部文章
题解
归档
标签
去牛客网
登录
/
注册
骏马H的博客
全部文章
/ 题解
(共39篇)
题解 | #统计数据正负个数#
#include<stdio.h> int main(){ int n = 0; int i = 0;//计正数 &nbs...
C
2022-06-06
0
217
题解 | #牛牛的二三七整除#
#include<stdio.h> int main(){ int n = 0; int i = 0; &nb...
C
2022-06-06
0
290
题解 | #判断是不是字母#
#include<stdio.h> int main(){ char c = 0; while(scanf("%c",&c) != EOF) { getchar();//消耗换行符 if((c>='A'&&...
C
2022-06-06
0
243
题解 | #小乐乐找最大数#
#include<stdio.h> int main(){ int n = 0; int i = 3; scanf("%d ",&n); int max = n; while(i){ scanf("%d ",&n); ...
C
2022-06-05
0
222
题解 | #健康评估#
#include<stdio.h> int main(){ float heights = 0; float weight = 0; scanf("%f %f",&weight,&heights); if(weight/(heights*h...
C
2022-06-05
0
270
题解 | #四季#
">int main(){ int year = 0; int month = 0; scanf("%4d%2d",&year,&month); if(month>=3 && month <=5) print...
C
2022-06-04
0
257
题解 | #判断字母#
">int main(){ char c = 0; c = getchar(); if((c>=65 && c<=90)||(c>=97 && c<=122)) printf("YES\n"); ...
C
2022-06-04
0
216
题解 | #判断闰年#
//整百年:若能被400整除是闰年(如:1600,2000) //非整百年:若能被4整除但不能被100整除是闰年如(如:2016,2020) ">int main(){ int year = 0; scanf("%d",&year); if((year%400==0)...
C
2022-06-04
0
229
题解 | #牛牛的判断题#
">int main(){ int x = 0; int l = 0; int r = 0; scanf("%d %d %d",&x,&l,&r); if(x>=l && x <= r) pr...
C
2022-06-04
0
282
题解 | #判断是元音还是辅音#
#include<stdio.h> int main(){ char c = 0; while((c = getchar())!=E...
C
2022-06-04
0
272
首页
上一页
1
2
3
4
下一页
末页