骏马H
骏马H
全部文章
分类
题解(39)
归档
标签
去牛客网
登录
/
注册
骏马H的博客
全部文章
(共42篇)
题解 | #判断闰年#
//整百年:若能被400整除是闰年(如:1600,2000) //非整百年:若能被4整除但不能被100整除是闰年如(如:2016,2020) ">int main(){ int year = 0; scanf("%d",&year); if((year%400==0)...
C
2022-06-04
0
228
题解 | #牛牛的判断题#
">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
289
题解 | #判断是元音还是辅音#
#include<stdio.h> int main(){ char c = 0; while((c = getchar())!=E...
C
2022-06-04
0
271
题解 | #判断整数奇偶性#
">int main(){ int n = 0; while(scanf("%d",&n)!=EOF){ if(n!=0&&n%2==0) printf("Even\n"); else ...
C
2022-06-04
0
255
题解 | #及格分数#
">int main() { int score = 0; while(scanf("%d",&score)!=EOF){ if(score<60) printf("Fail\n"); else printf(...
C
2022-06-04
0
232
题解 | #你是天才吗?#
">int main(){ int n = 0; scanf("%d",&n); if(n>=140) printf("Genius\n"); return 0; }
C
2022-06-04
0
289
题解 | #kiki算数#
">int main(){ int a = 0; int b = 0; int sum = 0; scanf("%d %d",&a,&b); sum = a%100 + b%100; printf("%d",sum%100); ...
C
2022-06-04
0
334
题解 | #牛牛的线段#
">int main(){ int x1 = 0; int x2 = 0; int y1 = 0; int y2 = 0; scanf("%d %d",&x1,&y1); scanf("%d %d",&x2,&y2);...
C
2022-06-03
0
327
题解 | #(a+b-c)*d的计算问题#
">int main() { int a = 0; int b = 0; int c = 0; int d = 0; scanf("%d %d %d %d",&a,&b,&c,&d); printf("%d",(a+b-...
C
2022-06-03
0
277
题解 | #KiKi算期末成绩#
">int main(){ int grade[4] = {0}; int i = 0; float finalgrade = 0; for (i = 0;i < 4;i++) scanf("%d ",&grade[i]);//输入成绩并存...
C
数组
2022-06-03
0
289
首页
上一页
1
2
3
4
5
下一页
末页