09 2021 档案
摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=1e6+11; 5 ll n,m,fa[N],l[N],r[N],seg[N],zh; 6 bool vis[N]; 7 8 in
阅读全文
摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll db[11][11]={ 5 {0}, 6 {0,0}, 7 {0,-1,1}, 8 {0,-1,-2,8}, 9 {0,2,3,4,
阅读全文
摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const int N=2e6+11,M=61,L=(1<<13)+11,St=(1<<13); 5 int n,a[M]; 6 int tot,fr[
阅读全文
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e3+11,St=1e3,mod=1e4; 4 int dp[N][N],sum[N][N]; 5 6 inline int re_ad() { 7 char ch=get
阅读全文
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e5+11,M=5e5+11; 4 int n,m,S,c[M],pri[N]; 5 inline int re_ad() { 6 char ch=getchar(); i
阅读全文
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e5+11,Tree_Sz=1e5+11,inf=1<<29; 4 int n; 5 6 inline int re_ad() { 7 char ch=getchar();
阅读全文
摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=1e6+11,St=1e6,mod=998244353; 5 ll T,n,A,B,dp[N]; 6 7 inline ll re
阅读全文
摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=51; 5 ll n,m,a[N],lj[N],ans,sum,len,tmp; 6 7 inline ll re_ad() {
阅读全文
摘要:1 #include<bits/stdc++.h> 2 #define int long long 3 using namespace std; 4 const int N=1e5+11; 5 int n,h[N],a[N],ans[N]; 6 int sta[N],top; 7 8 inline
阅读全文
摘要:题目链接:https://www.luogu.com.cn/problem/P1505 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=5e5+11,M=N<<1,Tree_Sz=3e6+11,inf=1<<29; 4 i
阅读全文

浙公网安备 33010602011771号