正文
增加 4 行删除 4 行
21 行未改动222324252627282930313233349 行未改动4445464748495051529 行未改动6263646566676821 行未改动#define pii pair<ll,ll>#define pque priority_queue#define fi first#define se secondusing namespace std;int a[1<<20];int n,q;ll read(){ll x=0,f=1;char ch=getchar();while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}9 行未改动else upd(rson,dep-1,u,v);if(dep&1) a[x]=(a[ls]|a[rs]);else a[x]=(a[ls]^a[rs]);}int main(){//freopen("5.in","r",stdin);//freopen("5.out","w",stdout);9 行未改动}return 0;}/**/```21 行未改动222324252627282930313233349 行未改动4445464748495051529 行未改动6263646566676821 行未改动#define pii pair<ll,ll>#define pque priority_queue#define fi first#define se secondusing namespace std;int a[1<<20];int n,q;ll read(){ll x=0,f=1;char ch=getchar();while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}9 行未改动else upd(rson,dep-1,u,v);if(dep&1) a[x]=(a[ls]|a[rs]);else a[x]=(a[ls]^a[rs]);}int main(){//freopen("5.in","r",stdin);//freopen("5.out","w",stdout);9 行未改动}return 0;}/**/```