自由的风0450
自由的风0450
全部文章
分类
归档
标签
去牛客网
登录
/
注册
自由的风0450的博客
全部文章
(共38篇)
题解 | 区间翻转
#include <iostream> #include<vector> #include<deque> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie...
2025-11-16
0
11
题解 | 【模板】双端队列
#include <iostream> #include<deque> using namespace std; int main() { int q; cin>>q; deque<int>de; while(q--)...
2025-11-15
0
12
题解 | 括号的匹配
#include <iostream> #include <string> #include <stack> using namespace std; int getPriority(char c) { switch (c) { case...
2025-11-15
0
12
题解 | 小红的双排列删除得分
#include <iostream> #include<vector> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n; ...
2025-11-15
0
11
模逆元 | 小苯的因子查询
#include <iostream> #include<vector> using namespace std; const int MOD=998244353; long long quick(long long a,long long b){ long long...
2025-11-15
0
14
题解 | 【模板】差分
#include <iostream> #include<vector> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n,q...
2025-11-15
0
12
题解 | 小红的数字分裂
#include <iostream> #include<vector> #include<algorithm> using namespace std; int gcd(int a,int b){ while(b!=0){ int t=b...
2025-11-14
0
12
题解 | B=A×A
#include <iostream> using namespace std; typedef long long ll; ll find(ll b){ ll l=1,r=1e9; ll idx=0; while(l<=r){ ll mid...
2025-11-14
0
14
题解 | A-B≠C
#include <iostream> using namespace std; const double EPS=1e-9; int main(){ double a,b,c; cin>>a>>b>>c; if(abs(a-b...
2025-11-14
0
12
题解 | A×A=B
#include <iostream> using namespace std; typedef long long ll; bool is(ll b){ ll l=1,r=1e9; while(l<=r){ ll mid=l+(r-l)/2; ...
2025-11-14
0
14
首页
上一页
1
2
3
4
下一页
末页