摘要:        
传送门 #include <bits/stdc++.h> const int N=800005,W=19; typedef long long ll; int f[N][W+1],l[N],r[N],sl[N],sr[N],ls[N],rs[N],deep[N],cnt,rt,pos[N],n,Q,    阅读全文
posted @ 2021-02-06 11:43
flyfeather
阅读(76)
评论(0)
推荐(0)
        
            
        
        
摘要:        
传送门 #include <bits/stdc++.h> const int N=500005; int to[N<<1],edge,Next[N<<1],last[N],siz[N],g,L[N*20],R[N*20],w[N<<1]; int v[N*20],vis[N],cnt,st[N*20    阅读全文
posted @ 2021-02-06 11:37
flyfeather
阅读(74)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include <bits/stdc++.h> typedef long long ll; ll dp[40][40][40],ans; int n,a[40][40]; char s[40]; ll dfs(int l,int r,int mid){ if (l==r) return 1; if    阅读全文
posted @ 2021-02-06 11:27
flyfeather
阅读(118)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include <bits/stdc++.h> const int N=200005; int n,v,a[N],dl[N][20],dr[N][20],pre[1<<20],suf[1<<20],dp[N],W; int main(){ scanf("%d%d",&n,&v); for (int    阅读全文
posted @ 2021-02-06 11:23
flyfeather
阅读(74)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include <bits/stdc++.h> const int N=200005; typedef long long ll; struct note{ int l,r; }a[N]; int n,k,x,y,b[N],cnt,t[N<<2]; ll S,lst,dp[N]; void pus    阅读全文
posted @ 2021-02-06 11:17
flyfeather
阅读(84)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include <bits/stdc++.h> typedef long long ll; const int N=105; int n,m,K,d,f[N][N][N],g[N][N][N],mu,C[N][N],p[N][N*N],p2[N][N][N]; int main(){ scanf(    阅读全文
posted @ 2021-02-06 11:11
flyfeather
阅读(73)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号