人间难得此少年a
人间难得此少年a
全部文章
分类
归档
标签
去牛客网
登录
/
注册
人间难得此少年a的博客
全部文章
(共104篇)
题解 | 牛牛学数列2
#include <stdio.h> double Sum(int n) { if (n == 1) { return 1; } return 1 * 1.0 / n + Sum(n - 1); } int main() { int n =...
2025-06-29
0
11
题解 | 牛牛学数列
#include <stdio.h> int main() { int num = 0; int sum = 0; int i = 0; scanf("%d",&num); for (i = 1; i <= n...
2025-06-29
0
11
题解 | KiKi求质数个数
#include <math.h> #include <stdio.h> int main() { int i, j = 0; int sum = 0; for (i = 100; i <= 999; i++) { int fla...
2025-06-28
0
14
题解 | 简单计算器
#include <stdio.h> int main() { double x1, x2 = 0; char operate = 0; double result = 0; scanf("%lf%c%lf",&x1,&...
2025-06-27
0
11
题解 | 获得月份天数
#include <stdio.h> int main() { int year, month = 0; while (scanf("%d %d", &year, &month) != EOF) { int arr1[...
2025-06-26
0
13
题解 | 计算一元二次方程
#define _CRT_SECURE_NO_WARNINGS 1 //计算一元二次方程 #include <math.h> #include <stdio.h> int main() { float a, b, c, deter, x1, x2 = 0; ...
2025-06-26
0
9
题解 | 牛牛的计划
#include <stdio.h> int main() { int y, m, d = 0; int y1, m1, d1 = 0; scanf("%d %d %d", &y, &m, &d); scanf...
2025-06-26
0
13
题解 | 计算单位阶跃函数
#include <stdio.h> int main() { int num = 0; while(scanf("%d",&num) != EOF){ if (num > 0) { p...
2025-06-26
0
15
题解 | 牛牛的一周
#include <stdio.h> int main() { int choice = 0; scanf("%d",&choice); switch (choice) { case 1: print...
2025-06-25
0
13
题解 | 牛牛的通勤
#include <stdio.h> int main() { char choice = 0; int Walk_Rate = 1; int taxi_Rate = 10; int distance = 0; int wait_time = 10...
2025-06-25
0
12
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页