quchen666
quchen666
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
quchen
😋
全部文章
(共62篇)
题解 | 恶魔果实
#include <bits/stdc++.h> using namespace std; const int N=1e6+10; const int mod = 1e4+7; typedef long long ll; typedef unsigned long long ull; l...
2026-03-02
0
6
题解 | 01序列
#include <bits/stdc++.h> using namespace std; int main() { int m; cin>>m; vector<int>a(m+1); for(int i=1;i<=m;i++...
2026-02-21
0
9
题解 | 中位数之和
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 6e5+10; const int mod = 1e9+7; ll a[N]; int n,k; ll fac[N]; l...
2026-02-13
0
24
题解 | 小红的二叉树
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll mod = 1e9+7; ll qpow(ll a,ll b,ll p) { ll res =1; for(;b;b...
2026-02-10
0
14
题解 | 幂次进近
#include <bits/stdc++.h> using namespace std; const int N=3e5+10; const int mod = 998244353; typedef long long ll; typedef unsigned long long ul...
2026-02-04
1
22
题解 | 躲藏
#include <bits/stdc++.h> using namespace std; const int N=3e5+10; typedef long long ll; typedef unsigned long long ull; const ll mod = 200012042...
2026-02-02
0
25
题解 | 小红的好排列
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; const int N=1e6+10; const ll mod = 1e9+7; ll...
2026-02-01
0
21
题解 | 小红的gcd
#include <bits/stdc++.h> using namespace std; const int N=3e5+10; const int mod = 998244353; typedef long long ll; typedef unsigned long long ul...
2026-01-30
0
32
题解 | 小苯的最短路
#include <bits/stdc++.h> using namespace std; const int N=3e5+10; const int mod = 998244353; typedef long long ll; typedef unsigned long long ul...
2026-01-28
0
27
题解 | 音符
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 2e5+10; ll b[N]; ll pres[N]; void solve(){ int n,q; ...
2026-01-26
0
25
首页
上一页
1
2
3
4
5
6
7
下一页
末页