银河护胃队
银河护胃队
全部文章
分类
归档
标签
去牛客网
登录
/
注册
银河护胃队的博客
全部文章
(共214篇)
题解 | 数列后缀极大位置统计
#include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n; int x[N]; int main(){ ios::sync_with_stdio(false); cin.tie(0); ci...
2026-03-12
0
13
题解 | 最多取半的巴什博弈
#include<bits/stdc++.h> using namespace std; #define int long long signed main(){ ios::sync_with_stdio(false); cin.tie(0); int n; cin&g...
2026-03-12
0
10
题解 | 【模板】巴什博弈
#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); int T,n,m; cin>>T; while(T--){ ...
2026-03-12
0
12
题解 | 灌注水箱
#include<bits/stdc++.h> using namespace std; #define int long long const int N=2e5+10,INF=0x3f3f3f3f; int n; int h[N],tim[N]; void solve(){ ...
2026-03-12
1
16
题解 | 浮木博弈
#include<bits/stdc++.h> using namespace std; int T; int n; void solve(){ cin>>n; vector<int> a(n+10,0); int cnt=0; bool f=f...
2026-03-12
1
12
题解 | 破壁
#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); int n,x,y; cin>>n>>x>>...
2026-03-12
1
14
题解 | 区间取反与单点求值
#include<bits/stdc++.h> using namespace std; const int N=5e5+10; int n,q; string s; int c[N]; int lowbit(int x){ return x&(-x); } void ...
2026-03-11
1
13
题解 | 绝对值博弈
#include<bits/stdc++.h> using namespace std; int gcd(int a,int b){ return b==0?a:gcd(b,a%b); } int main(){ ios::sync_with_stdio(false); cin...
2026-03-11
1
10
题解 | 删得回文串
#include<bits/stdc++.h> using namespace std; string s; map<int,int> mp; int main(){ ios::sync_with_stdio(false); cin.tie(0); cin&...
2026-03-11
0
13
题解 | 填字母游戏
#include<bits/stdc++.h> using namespace std; const int N=1e5; int T; map<string,int> mp; //mp==-1 代表Alice获胜 //mp==0 代表平局情况 //mp==1 代表...
2026-03-11
1
12
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页