摘要:
const int M=1e6; #define ls p<<1 #define rs p<<1|1 int a[M]; int b[M]; struct node{ int l,r; int cnt; }tr[M<<2]; void pull(int p){tr[p].cnt=tr[ls].cnt 阅读全文
posted @ 2025-09-23 20:50
Marinaco
阅读(20)
评论(0)
推荐(0)
摘要:
int dif[1005][1005]; void solve(){ int n,m,a,b;cin>>n>>m>>a>>b; rep(i,0,n+1)rep(j,0,m+1)dif[i][j]=0; vector<vector<int>>g(n+1,vector<int>(m+1)); rep(i 阅读全文
posted @ 2025-09-23 13:21
Marinaco
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号