Zerone·
Zerone·
全部文章
分类
题解(113)
归档
标签
去牛客网
登录
/
注册
Zerone·的博客
全部文章
(共115篇)
题解 | #牛牛的金币#
#include<stdio.h> #include<math.h> int main() { int x, y, x1, y1; scanf("%d %d\n%d %d", &x, &y, &x...
C
2022-05-19
1
310
题解 | #牛牛的通勤#
#include<stdio.h> int main() { unsigned int a; float taxi; scanf("%d", &a); taxi = a / 10.0 + 10; //计算打车时间 printf("%c",...
C
2022-05-19
3
381
题解 | #计算商品打折结算金额#
#include<stdio.h> int main() { float val; scanf("%f", &val); if (val >= 0) { &nbs...
C
2022-05-19
1
337
题解 | #牛牛的快递#
#include<stdio.h> int main() { float a; char b; int val; scanf("%f %c", &a, &b);...
C
2022-05-19
2
402
题解 | #网购#
#include<stdio.h> int main() { float val; int month, day, a; scanf("%f %d %d %d", &val, &month...
C
2022-05-19
2
324
题解 | #统计数据正负个数#
#include<stdio.h> int main() { int a[10]; int positive = 0, negative = 0; //初始化正负数值 for (int i = 0; i ...
C
数组
2022-05-19
6
467
题解 | #牛牛的二三七整除#
#include<stdio.h> int main() { int a; scanf("%d", &a); if (!(a % 2) || !(a % 3) || !(a % 7)) { &nb...
C
2022-05-19
18
425
题解 | #判断是不是字母#
#include<stdio.h> //A-Z == 65-90 //a-z == 97-122 //\n == 10 int main() { char ar; while (scanf("%c", &ar) != EOF...
C
2022-05-18
4
365
题解 | #小乐乐找最大数#
#include<stdio.h> int main() { int a[4], max; scanf("%d %d %d %d", &a[0], &a[1], &a[2], &a[3]); &nbs...
C
2022-05-18
1
350
题解 | #健康评估#
#include<stdio.h> int main() { float weight, height, BMI; scanf("%f %f", &weight, &height); BM...
C
2022-05-18
1
340
首页
上一页
3
4
5
6
7
8
9
10
11
12
下一页
末页