0_0_24291645_27215\Main.java:1: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_24291645_27215\Main.java:1: 错误: 需要class, interface或enum
#include<algorithm>
^
0_0_24291645_27215\Main.java:3: 错误: 需要class, interface或enum
const int maxn=10005;
^
0_0_24291645_27215\Main.java:4: 错误: 需要class, interface或enum
const int maxm=3000005;
^
0_0_24291645_27215\Main.java:5: 错误: 需要class, interface或enum
int c[maxn],a[maxm],n;
^
0_0_24291645_27215\Main.java:6: 错误: 需要class, interface或enum
int sum(int x)
^
0_0_24291645_27215\Main.java:9: 错误: 需要class, interface或enum
while(x>=1)
^
0_0_24291645_27215\Main.java:12: 错误: 需要class, interface或enum
x-=x&(-x);
^
0_0_24291645_27215\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_24291645_27215\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_24291645_27215\Main.java:21: 错误: 需要class, interface或enum
i+=i&(-i);
^
0_0_24291645_27215\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_24291645_27215\Main.java:27: 错误: 需要class, interface或enum
__int64 ans;
^
0_0_24291645_27215\Main.java:28: 错误: 需要class, interface或enum
char str[2];
^
0_0_24291645_27215\Main.java:29: 错误: 需要class, interface或enum
while(scanf("%d",&n)>0)
^
0_0_24291645_27215\Main.java:33: 错误: 需要class, interface或enum
ans=0;
^
0_0_24291645_27215\Main.java:34: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_24291645_27215\Main.java:34: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_24291645_27215\Main.java:34: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_24291645_27215\Main.java:37: 错误: 需要class, interface或enum
updata(a[i]);
^
0_0_24291645_27215\Main.java:38: 错误: 需要class, interface或enum
ans+=sum(a[i]-1);
^
0_0_24291645_27215\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_24291645_27215\Main.java:41: 错误: 需要class, interface或enum
while(m--)
^
0_0_24291645_27215\Main.java:44: 错误: 需要class, interface或enum
if(str[0]=='Q')
^
0_0_24291645_27215\Main.java:46: 错误: 需要class, interface或enum
else
^
0_0_24291645_27215\Main.java:50: 错误: 需要class, interface或enum
int count=a[x];
^
0_0_24291645_27215\Main.java:51: 错误: 需要class, interface或enum
for(i=x;i<y;i++)
^
0_0_24291645_27215\Main.java:51: 错误: 需要class, interface或enum
for(i=x;i<y;i++)
^
0_0_24291645_27215\Main.java:51: 错误: 需要class, interface或enum
for(i=x;i<y;i++)
^
0_0_24291645_27215\Main.java:54: 错误: 需要class, interface或enum
if(a[i]>count)
^
0_0_24291645_27215\Main.java:56: 错误: 需要class, interface或enum
else
^
0_0_24291645_27215\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_24291645_27215\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_24291645_27215\Main.java:65: 错误: 需要class, interface或enum
}
^
34 个错误
|