西西西西西西西
西西西西西西西
全部文章
题解
归档
标签
去牛客网
登录
/
注册
西西西西西西西的博客
全部文章
/ 题解
(共112篇)
题解 | #最高分数#
来自专栏
#include <stdio.h> int main() { int ch = 0; int math = 0; int eng = 0; int max = 0; while (~scanf(" %d%d%d", &...
2021-09-02
0
337
题解 | #判断整数奇偶性#
来自专栏
#include <stdio.h> int main() { int n = 0; //多组输入 while (~scanf(" %d", &n)) { if (1 == n % 2) { ...
2021-09-02
0
372
题解 | #及格分数#
来自专栏
#include <stdio.h> int main() { int score = 0; while (~scanf(" %d", &score)) { if (score >= 60) { ...
2021-09-02
0
302
题解 | #完美成绩#
来自专栏
#include <stdio.h> int main() { int score = 0; //多组输入 while(~scanf("%d\n", &score)) { if (score >=90 &...
2021-09-02
0
347
题解 | #你是天才吗?#
来自专栏
#include <stdio.h> int main() { int iq = 0; while (~scanf(" %d", &iq)) { if (iq >= 140) { ...
2021-09-02
0
332
题解 | #竞选社长#
来自专栏
#include <stdio.h> #include <stdlib.h> //解法三 int main() { char ch = 0; int flag = 0; while (((ch = getchar()) != '0') &&...
2021-09-02
0
528
题解 | #争夺前五名#
来自专栏
#include <stdio.h> #include <stdlib.h> //通过库函数完成排序 int cmp_int(const void* e1, const void* e2) { //降序排列 return *(int*)e2 - *(int...
2021-09-02
0
366
题解 | #变种水仙花#
来自专栏
#include <stdio.h> int main() { //控制查找范围 for (int i = 10000; i < 100000; i++) { int sum = 0; //控制拆分宽度 fo...
2021-09-02
1
467
题解 | #网购#
来自专栏
#include <stdio.h> int main() { float price = 0; int month = 0; int date = 0; int flag = 0; // 1表示有优惠券,0表示没有优惠券 float last ...
2021-09-02
0
491
题解 | #输出学生信息#
来自专栏
#include <stdio.h> #include <math.h> int main() { double w = 0.0; double h = 0.0; //输入 scanf("%lf%lf", &w, ...
2021-09-02
0
345
首页
上一页
3
4
5
6
7
8
9
10
11
12
下一页
末页