0_0_22986113_32241\Main.java:2: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_22986113_32241\Main.java:2: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_22986113_32241\Main.java:4: 错误: 非法字符: '#'
#define LL unsigned __int64
^
0_0_22986113_32241\Main.java:4: 错误: 需要class, interface或enum
#define LL unsigned __int64
^
0_0_22986113_32241\Main.java:6: 错误: 需要class, interface或enum
const LL MOD=(LL)9223372034707292160;
^
0_0_22986113_32241\Main.java:8: 错误: 需要class, interface或enum
int T,n,m;
^
0_0_22986113_32241\Main.java:9: 错误: 需要class, interface或enum
LL a[maxn],sum[maxn<<2];
^
0_0_22986113_32241\Main.java:10: 错误: 需要class, interface或enum
bool vis[maxn<<2];///区间和 区间是否还需要更新
^
0_0_22986113_32241\Main.java:12: 错误: 需要class, interface或enum
LL qmul(LL a,LL b){
^
0_0_22986113_32241\Main.java:14: 错误: 需要class, interface或enum
while(b){
^
0_0_22986113_32241\Main.java:16: 错误: 需要class, interface或enum
b>>=1,a=(a+a)%MOD;
^
0_0_22986113_32241\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:23: 错误: 需要class, interface或enum
vis[rt]=vis[rt<<1]&vis[rt<<1|1];
^
0_0_22986113_32241\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:28: 错误: 需要class, interface或enum
if(l==r) {sum[rt]=a[l];return ;}
^
0_0_22986113_32241\Main.java:28: 错误: 需要class, interface或enum
if(l==r) {sum[rt]=a[l];return ;}
^
0_0_22986113_32241\Main.java:28: 错误: 需要class, interface或enum
if(l==r) {sum[rt]=a[l];return ;}
^
0_0_22986113_32241\Main.java:30: 错误: 需要class, interface或enum
build(rt<<1 ,l ,m);
^
0_0_22986113_32241\Main.java:31: 错误: 需要class, interface或enum
build(rt<<1|1,m+1,r);
^
0_0_22986113_32241\Main.java:32: 错误: 需要class, interface或enum
pushup(rt);
^
0_0_22986113_32241\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:37: 错误: 需要class, interface或enum
if(l==r){
^
0_0_22986113_32241\Main.java:39: 错误: 需要class, interface或enum
if(tmp == sum[rt]) vis[rt]=true;
^
0_0_22986113_32241\Main.java:40: 错误: 需要class, interface或enum
sum[rt]=tmp;
^
0_0_22986113_32241\Main.java:41: 错误: 需要class, interface或enum
return ;
^
0_0_22986113_32241\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:44: 错误: 需要class, interface或enum
if(L<=m) update(rt<<1 ,l ,m,L,R);
^
0_0_22986113_32241\Main.java:45: 错误: 需要class, interface或enum
if(R> m) update(rt<<1|1,m+1,r,L,R);
^
0_0_22986113_32241\Main.java:46: 错误: 需要class, interface或enum
pushup(rt);
^
0_0_22986113_32241\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:51: 错误: 需要class, interface或enum
int m = r+l >> 1;
^
0_0_22986113_32241\Main.java:52: 错误: 需要class, interface或enum
LL ans = 0;
^
0_0_22986113_32241\Main.java:53: 错误: 需要class, interface或enum
if(L<=m) ans+= query(rt<<1 ,l ,m,L,R),ans%=MOD;
^
0_0_22986113_32241\Main.java:54: 错误: 需要class, interface或enum
if(R> m) ans+= query(rt<<1|1,m+1,r,L,R),ans%=MOD;
^
0_0_22986113_32241\Main.java:55: 错误: 需要class, interface或enum
return ans;
^
0_0_22986113_32241\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:60: 错误: 需要class, interface或enum
scanf("%d",&T);
^
0_0_22986113_32241\Main.java:61: 错误: 需要class, interface或enum
for(int cas=1;cas<=T;++cas){
^
0_0_22986113_32241\Main.java:61: 错误: 需要class, interface或enum
for(int cas=1;cas<=T;++cas){
^
0_0_22986113_32241\Main.java:61: 错误: 需要class, interface或enum
for(int cas=1;cas<=T;++cas){
^
0_0_22986113_32241\Main.java:63: 错误: 需要class, interface或enum
scanf("%d%d",&n,&m);
^
0_0_22986113_32241\Main.java:64: 错误: 需要class, interface或enum
for(int i=1;i<=n;++i){
^
0_0_22986113_32241\Main.java:64: 错误: 需要class, interface或enum
for(int i=1;i<=n;++i){
^
0_0_22986113_32241\Main.java:64: 错误: 需要class, interface或enum
for(int i=1;i<=n;++i){
^
0_0_22986113_32241\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:68: 错误: 需要class, interface或enum
int l,r;
^
0_0_22986113_32241\Main.java:69: 错误: 需要class, interface或enum
ans=0;
^
0_0_22986113_32241\Main.java:70: 错误: 需要class, interface或enum
while(m--){
^
0_0_22986113_32241\Main.java:72: 错误: 需要class, interface或enum
ans=(ans+query(1,1,n,l,r))%MOD;
^
0_0_22986113_32241\Main.java:73: 错误: 需要class, interface或enum
update(1,1,n,l,r);
^
0_0_22986113_32241\Main.java:74: 错误: 需要class, interface或enum
printf("%llu\n",ans);
^
0_0_22986113_32241\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_22986113_32241\Main.java:78: 错误: 需要class, interface或enum
}
^
54 个错误
|