自由的风0450
自由的风0450
全部文章
分类
归档
标签
去牛客网
登录
/
注册
自由的风0450的博客
全部文章
(共106篇)
题解 | #小红蹦跳蹦跳#
将left[i]定义为左脚到达第i阶,right[i]定义为右脚到达第i阶。可得 整理得 根据公式便可得出结果 #include<iostream> #include<vector> using namespace std; const int MOD = 1e9...
2025-11-27
3
10
题解 | 一道GCD问题
#include <iostream> #include<vector> #include<algorithm> using namespace std; typedef long long ll; ll gcd(ll a,ll b){ return b=...
2025-11-27
0
11
题解 | 小苯的数字排序
#include <iostream> #include<vector> #include<algorithm> using namespace std; int main() { ios::sync_with_stdio(false); cin...
2025-11-27
0
10
题解 | 小红取数
#include <iostream> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n,cnt=0; cin>>n;...
2025-11-27
0
10
题解 | 小sun的假期
n<1e9,采用区间合并 #include <iostream> #include<vector> #include<algorithm> using namespace std; int main() { ios::sync_with_stdio...
2025-11-27
0
8
题解 | 小红的不动点分配
#include <iostream> #include<vector> #include<unordered_map> using namespace std; int main() { ios::sync_with_stdio(false); ...
2025-11-26
0
7
题解 | 小红杀怪
枚举群体伤害的次数 #include <iostream> #include<algorithm> using namespace std; int main() { int a,b,x,y; int min_count=20; cin>>...
2025-11-26
0
13
题解 | 小红的三带一
#include <iostream> #include<vector> #include<unordered_map> #include<algorithm> using namespace std; int cnt3a1(const vector&...
2025-11-26
0
6
题解 | 圆与三角形
高中数学 #include <iostream> #include<iomanip> using namespace std; int main() { double r; cin>>r; cout<<fixed<<...
2025-11-25
0
9
题解 | 能量辐射
#include <iostream> #include<vector> #include<stack> using namespace std; struct Station{ int h,v; }; int main() { ios::syn...
2025-11-24
0
6
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页