quchen666
quchen666
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
quchen
😋
全部文章
(共67篇)
题解 | 小红的连续段
#include <bits/stdc++.h> using namespace std; const int mod = 1e9+7; const int N = 2e3+10; typedef long long ll; ll fac[N]; ll inv[N]; ll qpow(...
2026-03-19
0
7
题解 | 显生之宙
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 6e5+10...
2026-03-13
0
22
题解 | 小苯的蓄水池(hard)
#include <bits/stdc++.h> using namespace std; const int N = 2e5+10; double a[N]; int fa[N]; int sz[N]; double avg[N]; int n,m; int find(int x)...
2026-03-09
0
14
题解 | 连分数
#include <bits/stdc++.h> using namespace std; typedef long long ll; void dfs(int p,int q) { int a = p/q; int r = p%q; p = r; ...
2026-03-08
0
19
题解 | 不点两面(hard version)
#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-03-06
0
15
题解 | 恶魔果实
#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
26
题解 | 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
25
题解 | 中位数之和
#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
43
题解 | 小红的二叉树
#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
36
题解 | 幂次进近
#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
36
首页
上一页
1
2
3
4
5
6
7
下一页
末页