165男生的逆袭
165男生的逆袭
全部文章
分类
归档
标签
去牛客网
登录
/
注册
165男生的逆袭的博客
TA的专栏
62篇文章
0人订阅
算法学习篇:新手入门130
62篇文章
20人学习
全部文章
(共62篇)
题解 | 牛牛学立体
来自专栏
#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); int v = a * b * c; int s = a * b * 2 + a ...
2025-10-11
0
11
题解 | 计算机内存
来自专栏
#include <stdio.h> int main() { long int n = 0; long int ret = 0; while(scanf("%d", &n)!=EOF) { ret = (n * 1024 * 1024) / 4;...
2025-10-11
0
12
题解 | 时间转换
来自专栏
#include <stdio.h> int main() { int n=0; scanf("%d", &n); int h = n / 3600; int m = n % 3600/60; int s = n % 3600 % 60; //怎...
2025-10-11
1
16
题解 | 求四位数各个数位之和
来自专栏
#include <stdio.h> int main() { int n; int ret=0; scanf("%d", &n); while (n) { int m = 0; m = n % 10; ret = ret + m; ...
2025-10-11
0
13
题解 | 绕距
来自专栏
#include <stdio.h> #include<math.h> int main() { int x1, y1, x2, y2; //输入数据 scanf("%d %d", &x1, &y1); scanf("%...
2025-10-11
0
13
题解 | 绕距
来自专栏
#include <stdio.h> #include<math.h> int main() { int x1, y1, x2, y2; //输入数据 scanf("%d %d", &x1, &y1); scanf("%...
2025-10-11
1
17
题解 | 温标转换
来自专栏
#include <stdio.h> int main() { float F; float ret; scanf("%f", &F); ret = (F-273.15)*1.8+32; printf("%f", ret); ...
2025-10-11
0
13
题解 | 反向输出一个四位数
来自专栏
#include <stdio.h> int main() { int n = 0; int ret = 0; scanf("%d", &n); while (n > 0) { ret = n % 10; n = n ...
2025-10-11
0
15
题解 | 序列中删除指定数字
来自专栏
#include <stdio.h> #define MAX 100 int main() { int n = 0, x = 0, arr[MAX]; int i = 0; scanf("%d", &n); for (i = 0; i < n; ...
2025-10-07
0
16
题解 | 变种水仙花
来自专栏
#include <stdio.h> int main() { int i, j; for (int i = 10000; i < 99999; i++) { int sum = 0; for (int j = 10; j <=10000;j=j * 10) ...
2025-10-07
0
19
首页
上一页
1
2
3
4
5
6
7
下一页
末页