quchen666
quchen666
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
quchen
😋
全部文章
(共67篇)
题解 | 秘藏
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 2e5+10; ll a[N]; ll b[N]; ll dp[N][2]; int main() { ios::s...
2025-12-24
0
26
题解 | 圣
#include <bits/stdc++.h> using namespace std ; typedef long long ll; const int N = 3e5+10; ll a[N]; void solve() { int n; cin>>n; ...
2025-12-23
0
37
题解 | 小猫排队
#include <bits/stdc++.h> using namespace std; const int N = 3e5+10; int a[N]; int n; int main() { ios::sync_with_stdio(false); cin.tie(0...
2025-12-22
1
31
题解 | 排座椅
#include <bits/stdc++.h> using namespace std; const int N = 2e3+10; struct Node { int cnt=0; int id; }; Node a[N]; Node b[N]; bool cm...
2025-12-21
1
42
题解 | 小红的口罩
#include <bits/stdc++.h> using namespace std; typedef long long ll; int n,k; int main() { cin>>n>>k; int sum = 0; prior...
2025-12-19
1
37
题解 | 01串题
#include <bits/stdc++.h> using namespace std; int a,b,x; int main() { cin>>a>>b>>x; if(a<x/2||b<x/2||a+b<x)c...
2025-12-18
1
32
题解 | 剩下的数
#include <bits/stdc++.h> using namespace std; typedef long long ll; void solve() { ll l,r; int m; cin>>l>>r; cin>...
2025-12-17
2
31
题解 | 游游的字母翻倍
#include <bits/stdc++.h> using namespace std; int main() { int n,q; cin>>n>>q; string s; cin>>s; while(q--...
2025-12-16
1
28
题解 | 月月查华华的手机
#include <bits/stdc++.h> using namespace std; const int N = 1e6+10; typedef long long ll; int n; string s[N]; int id[N]; void solve() { stri...
2025-12-15
1
29
题解 | 【模板】静态区间最值
#include <bits/stdc++.h> using namespace std; const int N = 3e6+10; int q,n; int a[N]; int mx[N],mn[N]; void up(int i) { mx[i] = max(mx[i&l...
2025-12-14
1
38
首页
上一页
1
2
3
4
5
6
7
下一页
末页