0_0_26191845_1340\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_26191845_1340\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_26191845_1340\Main.java:2: 错误: 非法字符: '#'
#define rep(i,l,r) for(int i=l;i<r;i++)
^
0_0_26191845_1340\Main.java:2: 错误: 需要class, interface或enum
#define rep(i,l,r) for(int i=l;i<r;i++)
^
0_0_26191845_1340\Main.java:2: 错误: 需要class, interface或enum
#define rep(i,l,r) for(int i=l;i<r;i++)
^
0_0_26191845_1340\Main.java:3: 错误: 非法字符: '#'
#define Rep(i,l,r) for(int i=l;i<=r;i++)
^
0_0_26191845_1340\Main.java:3: 错误: 需要class, interface或enum
#define Rep(i,l,r) for(int i=l;i<=r;i++)
^
0_0_26191845_1340\Main.java:3: 错误: 需要class, interface或enum
#define Rep(i,l,r) for(int i=l;i<=r;i++)
^
0_0_26191845_1340\Main.java:4: 错误: 非法字符: '#'
#define rrep(i,l,r) for(int i=r;i>=l;i--)
^
0_0_26191845_1340\Main.java:4: 错误: 需要class, interface或enum
#define rrep(i,l,r) for(int i=r;i>=l;i--)
^
0_0_26191845_1340\Main.java:4: 错误: 需要class, interface或enum
#define rrep(i,l,r) for(int i=r;i>=l;i--)
^
0_0_26191845_1340\Main.java:5: 错误: 非法字符: '#'
#define lc rt<<1
^
0_0_26191845_1340\Main.java:6: 错误: 非法字符: '#'
#define rc rt<<1|1
^
0_0_26191845_1340\Main.java:7: 错误: 非法字符: '#'
#define lson l,m,rt<<1
^
0_0_26191845_1340\Main.java:8: 错误: 非法字符: '#'
#define rson m+1,r,rt<<1|1
^
0_0_26191845_1340\Main.java:10: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_26191845_1340\Main.java:11: 错误: 需要class, interface或enum
int n,m,cnt;
^
0_0_26191845_1340\Main.java:12: 错误: 需要class, interface或enum
unsigned int X,Y,Z;
^
0_0_26191845_1340\Main.java:13: 错误: 需要class, interface或enum
const int mod=1<<30;
^
0_0_26191845_1340\Main.java:14: 错误: 需要class, interface或enum
const int N=1e5+10;
^
0_0_26191845_1340\Main.java:15: 错误: 需要class, interface或enum
const int M=5e6+10;
^
0_0_26191845_1340\Main.java:16: 错误: 需要class, interface或enum
ll Min[N<<2],Max[N<<2],add[N<<2],V[N<<2],ans;
^
0_0_26191845_1340\Main.java:17: 错误: 需要class, interface或enum
unsigned int F[3*M+10];
^
0_0_26191845_1340\Main.java:18: 错误: 需要class, interface或enum
void build(){
^
0_0_26191845_1340\Main.java:20: 错误: 需要class, interface或enum
memset(Max,0,sizeof Max);
^
0_0_26191845_1340\Main.java:21: 错误: 需要class, interface或enum
memset(add,-1,sizeof add);
^
0_0_26191845_1340\Main.java:22: 错误: 需要class, interface或enum
memset(V,0,sizeof V);
^
0_0_26191845_1340\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:26: 错误: 需要class, interface或enum
Min[rt]=min(Min[lc],Min[rc]);
^
0_0_26191845_1340\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:36: 错误: 需要class, interface或enum
if(v<=Min[rt]){return;}
^
0_0_26191845_1340\Main.java:40: 错误: 需要class, interface或enum
Max[rt]=Min[rt]=v;
^
0_0_26191845_1340\Main.java:41: 错误: 需要class, interface或enum
return;
^
0_0_26191845_1340\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:45: 错误: 需要class, interface或enum
pushdown(rt);
^
0_0_26191845_1340\Main.java:46: 错误: 需要class, interface或enum
if(L<=m)update(L,R,v,lson);
^
0_0_26191845_1340\Main.java:47: 错误: 需要class, interface或enum
if(m+1<=R)update(L,R,v,rson);
^
0_0_26191845_1340\Main.java:48: 错误: 需要class, interface或enum
pushup(rt);
^
0_0_26191845_1340\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:54: 错误: 需要class, interface或enum
for(int i=l;i<=r;i++)ans^=i*V[rt];
^
0_0_26191845_1340\Main.java:54: 错误: 需要class, interface或enum
for(int i=l;i<=r;i++)ans^=i*V[rt];
^
0_0_26191845_1340\Main.java:55: 错误: 需要class, interface或enum
return ;
^
0_0_26191845_1340\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:58: 错误: 需要class, interface或enum
pushdown(rt);
^
0_0_26191845_1340\Main.java:59: 错误: 需要class, interface或enum
ll ans=0;
^
0_0_26191845_1340\Main.java:60: 错误: 需要class, interface或enum
getSum(lson);
^
0_0_26191845_1340\Main.java:61: 错误: 需要class, interface或enum
getSum(rson);
^
0_0_26191845_1340\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:65: 错误: 需要class, interface或enum
int m=(l+r)>>1;
^
0_0_26191845_1340\Main.java:66: 错误: 需要class, interface或enum
pushdown(rt);
^
0_0_26191845_1340\Main.java:67: 错误: 需要class, interface或enum
if(p<=m)return query(p,lson);
^
0_0_26191845_1340\Main.java:68: 错误: 需要class, interface或enum
else return query(p,rson);
^
0_0_26191845_1340\Main.java:69: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:73: 错误: 需要class, interface或enum
ll ans=0;
^
0_0_26191845_1340\Main.java:74: 错误: 需要class, interface或enum
ll temp;
^
0_0_26191845_1340\Main.java:75: 错误: 需要class, interface或enum
Rep(i,1,n)temp=query(i,1,n,1),ans+=temp;
^
0_0_26191845_1340\Main.java:76: 错误: 需要class, interface或enum
cout<<ans<<endl;
^
0_0_26191845_1340\Main.java:77: 错误: 需要class, interface或enum
cout<<endl;
^
0_0_26191845_1340\Main.java:78: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:82: 错误: 需要class, interface或enum
X=X^(X>>4);
^
0_0_26191845_1340\Main.java:83: 错误: 需要class, interface或enum
X=X^(X<<5);
^
0_0_26191845_1340\Main.java:84: 错误: 需要class, interface或enum
X=X^(X>>14);
^
0_0_26191845_1340\Main.java:85: 错误: 需要class, interface或enum
unsigned int W;
^
0_0_26191845_1340\Main.java:86: 错误: 需要class, interface或enum
W=(X^Y^Z);
^
0_0_26191845_1340\Main.java:87: 错误: 需要class, interface或enum
X=Y;
^
0_0_26191845_1340\Main.java:88: 错误: 需要class, interface或enum
Y=Z;
^
0_0_26191845_1340\Main.java:89: 错误: 需要class, interface或enum
Z=W;
^
0_0_26191845_1340\Main.java:90: 错误: 需要class, interface或enum
return Z;
^
0_0_26191845_1340\Main.java:91: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:97: 错误: 需要class, interface或enum
int T;cin>>T;
^
0_0_26191845_1340\Main.java:98: 错误: 需要class, interface或enum
while(T--){
^
0_0_26191845_1340\Main.java:100: 错误: 需要class, interface或enum
cin>>n>>m>>X>>Y>>Z;
^
0_0_26191845_1340\Main.java:101: 错误: 需要class, interface或enum
build();
^
0_0_26191845_1340\Main.java:102: 错误: 需要class, interface或enum
ll l,r,v;
^
0_0_26191845_1340\Main.java:103: 错误: 需要class, interface或enum
Rep(i,1,m){
^
0_0_26191845_1340\Main.java:105: 错误: 需要class, interface或enum
r=range()%n+1;
^
0_0_26191845_1340\Main.java:106: 错误: 需要class, interface或enum
v=range()&((1<<30)-1);
^
0_0_26191845_1340\Main.java:107: 错误: 需要class, interface或enum
if(l>r)swap(l,r);
^
0_0_26191845_1340\Main.java:108: 错误: 需要class, interface或enum
update(l,r,v,1,n,1);
^
0_0_26191845_1340\Main.java:109: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:111: 错误: 需要class, interface或enum
getSum(1,n,1);
^
0_0_26191845_1340\Main.java:112: 错误: 需要class, interface或enum
cout<<ans<<endl;
^
0_0_26191845_1340\Main.java:113: 错误: 需要class, interface或enum
}
^
0_0_26191845_1340\Main.java:115: 错误: 需要class, interface或enum
}
^
86 个错误
|