萤飘碎火
萤飘碎火
全部文章
题解
归档
标签
去牛客网
登录
/
注册
萤飘碎火的博客
全部文章
/ 题解
(共30篇)
题解 | #翻转直角三角形图案#
#include <stdio.h> int main() { int n; while(scanf("%d", &n) != -1) { for (int i = 0; i < n ; i++) { ...
C
2022-06-29
1
259
题解 | #直角三角形图案#
#include <stdio.h> int main() { int n; while(scanf("%d", &n) != -1) { for (int i = 0; i < n ; i++) { ...
C
2022-06-29
1
243
题解 | #线段图案#
#include <stdio.h> int main() { int n ; while(scanf("%d", &n) != -1) { for(int i = 0; i < n; i++) { ...
C
2022-06-29
24
972
题解 | #回文对称数#
#include <stdio.h> int main() { int n; scanf("%d", &n); for (int i = 1 ; i <= n ; i++)//按照数字位数进行判断 { if(i < 1...
C
2022-06-28
11
370
题解 | #[NOIP2015]金币#
#include <stdio.h> int main() { int k; scanf("%d", &k); int jin = 0; for (int n = 1; n <=k ; n++) { int he =...
C
2022-06-28
1
286
题解 | #数位之和#
#include <stdio.h> #include <math.h> int main() { int n; scanf("%d", &n); int he = 0; for (int i = 0; i <= 9; i++)...
C
2022-06-28
1
278
题解 | #计算一元二次方程#
#include <stdio.h> #include <math.h> int main() { float a, b, c; int temp; while ((temp = scanf("%f %f %f", &a, &b, &...
C
2022-06-26
1
309
题解 | #计算商品打折结算金额#
#include <stdio.h> int main() { float money; scanf("%f", &money); if (money >= 5000) { money = 0.6 * money; ...
C
2022-06-25
1
238
题解 | #牛牛的快递#
#include <stdio.h> int main() { float a; char b; int money = 20; scanf("%f %c", &a, &b); if(a > 1) { ...
C
2022-06-25
1
234
题解 | #网购#
#include <stdio.h> int main() { float value; int mon, day ,count; scanf("%f %d %d %d", &value, &mon, &day, &count);...
C
2022-06-25
1
209
首页
上一页
1
2
3
下一页
末页