赶路要紧1
赶路要紧1
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
赶路要紧1的博客
超级飞侠--乐迪
全部文章
(共32篇)
题解 | 求平均年龄
#include<iostream> #include<cstdio> using namespace std; int main(){ int n; scanf("%d",&n); double ans=0.0; ...
2025-08-19
0
37
题解 | 学分绩点
#include<iostream> #include<cstdio> using namespace std; float Function(int x){ if(x>=90){ return 4.0; }else if(x >=...
2025-08-19
0
40
题解 | Skew数
#include<iostream> #include<cstdio> using namespace std; const int MAXN=33; int arr[MAXN]; int main(){ long long n; while(scanf(&...
2025-08-19
0
44
题解 | 与7无关的数
#include<iostream> #include<cstdio> using namespace std; const int MAXN=100; long long dp[MAXN]; //判断是否符合条件。 bool Function(int x){ if(...
2025-08-19
0
45
题解 | 二叉树
//格式每输出一个进行换行 #include<iostream> #include<cstdio> using namespace std; int Function(int a,int b){ int ans=0; while(a!=b){ ...
2025-08-19
0
29
题解 | 大整数的因子
#include<iostream> #include<cstdio> #include<string> using namespace std; bool Function(string num,int k){ int total=0; for(...
2025-08-18
0
39
题解 | 中位数
#include<iostream> #include<cstdio> #include<algorithm> using namespace std; const int MAXN=10000; int arr[MAXN]; bool compare(const...
2025-08-18
0
40
题解 | 整数拆分
#include <iostream> #include <cstdio> using namespace std; const int MAXN = 1000001; const int MOD = 1000000000; int dp[MAXN]; int main(...
2025-08-17
0
29
题解 | 放苹果
//剩余盘子的个数 #include<iostream> #include<cstdio> using namespace std; const int MAXN =11; int dp[MAXN][MAXN]; int main(){ int n,m; sc...
2025-08-16
0
51
题解 | 最小邮票数
#include <iostream> #include <vector> #include <climits> using namespace std; int main() { int M, N; while (cin >> M)...
2025-08-16
0
56
首页
上一页
1
2
3
4
下一页
末页