骏马H
骏马H
全部文章
题解
归档
标签
去牛客网
登录
/
注册
骏马H的博客
全部文章
/ 题解
(共39篇)
题解 | #判断整数奇偶性#
">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
328
题解 | #(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
278
题解 | #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
题解 | #小乐乐改数字#
">int main(){ int n = 0; scanf("%d",&n);//输入 int x = 0; int a[9] = {0};//存储整数某位的奇为1,偶数为0,因为0=<n<=10的9次方 int i = 0;//数组下标...
C
数组
2022-06-03
0
302
题解 | #小乐乐排电梯#
">int main(){ int n = 0; scanf("%d",&n); if(n<12) printf("%d\n",2); if(n >= 12) { printf("%d\n",4*(n/12)...
C
2022-06-03
3
302
题解 | #小乐乐定闹钟#
">int main(){ int hour = 0; int minute = 0; int k = 0; scanf("%d:%d %d",&hour,&minute,&k); if(minute+k%60>=60){ ...
C
2022-06-01
0
323
首页
上一页
1
2
3
4
下一页
末页