一枚朱
一枚朱
全部文章
分类
归档
标签
去牛客网
登录
/
注册
一枚朱的博客
全部文章
(共45篇)
题解 | #三角形判断#
#include <stdio.h> int main() { int a = 0, b = 0, c = 0; int t = 0; while (scanf("%d %d %d", &a, &b, &c) != E...
2024-08-22
1
128
题解 | #HTTP状态码#
#include <stdio.h> int main() { int a; while ( scanf("%d", &a) != EOF) { switch (a) { case 200: ...
2024-08-22
0
107
题解 | #牛牛的金币#
#include <stdio.h> #include <math.h> #include <stdlib.h> int main() { int x, y, x1, y1; scanf("%d %d\n", &x, &...
2024-08-22
0
146
题解 | #牛牛的通勤#
#include <stdio.h> int main() { int x; //输入距离 scanf("%d",&x); //float t1 = x/1.0; //float t2 = x/10.0+10; // if...
2024-08-22
1
150
题解 | #计算商品打折结算金额#
#include<stdio.h> int main(){ float price; scanf("%f", &price); // 从用户那里获取价格 if(price>=100&&price<500...
2024-08-22
1
173
题解 | #牛牛的快递#
#include <stdio.h> int main() { float a; //快递重量 char b; //是否加急 int c = 20 ;//支付费用 int k =1; scanf("%f %c",&a,&...
2024-08-22
1
105
题解 | #网购#
#include <stdio.h> int main() { double price;//衣服价格 int month, day; //日期:月日 int x;//1表示有优惠卷,2表示无。 scanf("%lf %d %d %d"...
2024-08-22
1
123
题解 | #统计数据正负个数#
#include <stdio.h> int main() { int a[10];//存放10个数字 int num1 = 0, num2 = 0; for (int i = 0; i < 10; i++) { scanf("%d...
2024-08-22
1
118
题解 | #牛牛的二三七整除#
#include <stdio.h> int main() { int num; scanf("%d", &num); if (num % 2 == 0 || num % 3 == 0 || num % 7 == 0) { ...
2024-08-20
1
139
题解 | #判断字母#
#include <stdio.h> int main() { char ch; scanf("%c",&ch); if((ch>=65&&ch<=91)||(ch>97)&&(ch&...
2024-08-20
1
131
首页
上一页
1
2
3
4
5
下一页
末页