z鑫
z鑫
全部文章
分类
归档
标签
去牛客网
登录
/
注册
z鑫的博客
全部文章
(共46篇)
题解 | #简单计算器#
#include <stdio.h> int main() { double a = 0.0; double b = 0.0; char c = 0; scanf("%lf%c%lf", &a, &c, &b)...
2024-08-12
1
72
题解 | #获得月份天数#
#include <stdio.h> int is_leap_year(int y)//判断是否是闰年 { if ((y % 400 == 0) || ((y % 100 != 0) && (y % 4 == 0))) { return ...
2024-08-11
0
83
题解 | #计算一元二次方程#
#include <stdio.h> #include <math.h> int main() { double a = 0.0; double b = 0.0; double c = 0.0; double x1 = 0.0; do...
2024-08-10
1
81
题解 | #牛牛的计划#
#include <stdio.h> int main() { int date[3] = { 0 };//计划开始学习的时间 int date1[3] = { 0 };//询问的时间 //依次分别输入年月日 scanf("%d %d %d&quo...
2024-08-09
0
83
题解 | #三角形判断#
#include <stdio.h> int main() { float a = 0.0f; float b = 0.0f; float c = 0.0f; while (scanf("%f %f %f", &a, &...
2024-08-09
0
87
题解 | #牛牛的一周#
#include <stdio.h> int main() { char* week[] = { "Monday", "Tuesday", "Wednesday", &quo...
2024-08-09
1
92
题解 | #牛牛的金币#
#include <stdio.h> int main() { int x = 0; int y = 0; int x1 = 0; int y1 = 0; scanf("%d %d", &x, &y);//牛牛...
2024-08-09
0
76
题解 | #牛牛的快递#
#include <stdio.h> int main() { float a = 0; char b = 0; int price = 0; scanf("%f %c", &a, &b);//输入 //判断重量 ...
2024-08-08
0
76
题解 | #网购#
#include <stdio.h> int main() { float price = 0.0f; int month = 0; int day = 0; int coupon = 0; scanf("%f %d %d %d&quo...
2024-08-08
0
78
题解 | #统计数据正负个数#
#include <stdio.h> int main() { int n = 10; int input = 0; int count = 0;//正整数的个数 while (n--)//循环十次 { scanf("%...
2024-08-08
2
86
首页
上一页
1
2
3
4
5
下一页
末页