0_0_15008239_13929\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_15008239_13929\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_15008239_13929\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_15008239_13929\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_15008239_13929\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_15008239_13929\Main.java:8: 错误: 需要class, interface或enum
const int N = 101000;
^
0_0_15008239_13929\Main.java:10: 错误: 需要class, interface或enum
int C[N],n,m,T;
^
0_0_15008239_13929\Main.java:12: 错误: 需要class, interface或enum
int lowbit(int x){
^
0_0_15008239_13929\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_15008239_13929\Main.java:17: 错误: 需要class, interface或enum
for (;x <= n;x+=lowbit(x))
^
0_0_15008239_13929\Main.java:17: 错误: 需要class, interface或enum
for (;x <= n;x+=lowbit(x))
^
0_0_15008239_13929\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_15008239_13929\Main.java:23: 错误: 需要class, interface或enum
for (;x;x-=lowbit(x)) ans += C[x];
^
0_0_15008239_13929\Main.java:23: 错误: 需要class, interface或enum
for (;x;x-=lowbit(x)) ans += C[x];
^
0_0_15008239_13929\Main.java:23: 错误: 需要class, interface或enum
for (;x;x-=lowbit(x)) ans += C[x];
^
0_0_15008239_13929\Main.java:24: 错误: 需要class, interface或enum
return ans;
^
0_0_15008239_13929\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_15008239_13929\Main.java:29: 错误: 需要class, interface或enum
return sum(r) - sum(l-1);
^
0_0_15008239_13929\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_15008239_13929\Main.java:34: 错误: 需要class, interface或enum
int main(){
^
0_0_15008239_13929\Main.java:38: 错误: 需要class, interface或enum
while(T--){
^
0_0_15008239_13929\Main.java:42: 错误: 需要class, interface或enum
for (int i = 1;i <= n;i++)
^
0_0_15008239_13929\Main.java:42: 错误: 需要class, interface或enum
for (int i = 1;i <= n;i++)
^
0_0_15008239_13929\Main.java:42: 错误: 需要class, interface或enum
for (int i = 1;i <= n;i++)
^
0_0_15008239_13929\Main.java:45: 错误: 需要class, interface或enum
memset(sub,0,sizeof(sub));
^
0_0_15008239_13929\Main.java:46: 错误: 需要class, interface或enum
memset(pre,0,sizeof(pre));
^
0_0_15008239_13929\Main.java:47: 错误: 需要class, interface或enum
memset(C,0,sizeof(C));
^
0_0_15008239_13929\Main.java:49: 错误: 需要class, interface或enum
for (int i = 1;i <=n;i++){
^
0_0_15008239_13929\Main.java:49: 错误: 需要class, interface或enum
for (int i = 1;i <=n;i++){
^
0_0_15008239_13929\Main.java:49: 错误: 需要class, interface或enum
for (int i = 1;i <=n;i++){
^
0_0_15008239_13929\Main.java:51: 错误: 需要class, interface或enum
add(va[i],1);
^
0_0_15008239_13929\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_15008239_13929\Main.java:56: 错误: 需要class, interface或enum
for (int i = n;i;i--){
^
0_0_15008239_13929\Main.java:56: 错误: 需要class, interface或enum
for (int i = n;i;i--){
^
0_0_15008239_13929\Main.java:56: 错误: 需要class, interface或enum
for (int i = n;i;i--){
^
0_0_15008239_13929\Main.java:58: 错误: 需要class, interface或enum
add(va[i],1);
^
0_0_15008239_13929\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_15008239_13929\Main.java:61: 错误: 需要class, interface或enum
for (int i = 1;i <= n;i++) pre[i] += pre[i-1];
^
0_0_15008239_13929\Main.java:61: 错误: 需要class, interface或enum
for (int i = 1;i <= n;i++) pre[i] += pre[i-1];
^
0_0_15008239_13929\Main.java:63: 错误: 需要class, interface或enum
for (int i = n;i;i--) sub[i] += sub[i+1];
^
0_0_15008239_13929\Main.java:63: 错误: 需要class, interface或enum
for (int i = n;i;i--) sub[i] += sub[i+1];
^
0_0_15008239_13929\Main.java:63: 错误: 需要class, interface或enum
for (int i = n;i;i--) sub[i] += sub[i+1];
^
0_0_15008239_13929\Main.java:65: 错误: 需要class, interface或enum
memset(intersuper,0,sizeof(intersuper));
^
0_0_15008239_13929\Main.java:67: 错误: 需要class, interface或enum
memset(C,0,sizeof(C));
^
0_0_15008239_13929\Main.java:69: 错误: 需要class, interface或enum
for (int i = 1;i <= m;i++) add(va[i],1);
^
0_0_15008239_13929\Main.java:69: 错误: 需要class, interface或enum
for (int i = 1;i <= m;i++) add(va[i],1);
^
0_0_15008239_13929\Main.java:69: 错误: 需要class, interface或enum
for (int i = 1;i <= m;i++) add(va[i],1);
^
0_0_15008239_13929\Main.java:71: 错误: 需要class, interface或enum
int now = sub[m+1]; int ans = now;
^
0_0_15008239_13929\Main.java:71: 错误: 需要class, interface或enum
int now = sub[m+1]; int ans = now;
^
0_0_15008239_13929\Main.java:73: 错误: 需要class, interface或enum
int before = pre[m];
^
0_0_15008239_13929\Main.java:75: 错误: 需要class, interface或enum
for (int i = m+1;i <= n;i++){
^
0_0_15008239_13929\Main.java:75: 错误: 需要class, interface或enum
for (int i = m+1;i <= n;i++){
^
0_0_15008239_13929\Main.java:75: 错误: 需要class, interface或enum
for (int i = m+1;i <= n;i++){
^
0_0_15008239_13929\Main.java:77: 错误: 需要class, interface或enum
int tmp = intersum(1,va[k]-1);
^
0_0_15008239_13929\Main.java:78: 错误: 需要class, interface或enum
before -= tmp;
^
0_0_15008239_13929\Main.java:79: 错误: 需要class, interface或enum
add(va[i],1);
^
0_0_15008239_13929\Main.java:80: 错误: 需要class, interface或enum
add(va[k],-1);
^
0_0_15008239_13929\Main.java:81: 错误: 需要class, interface或enum
before += intersum(va[i]+1,n);
^
0_0_15008239_13929\Main.java:82: 错误: 需要class, interface或enum
ans = min(ans,pre[i]+sub[i+1]-before);
^
0_0_15008239_13929\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_15008239_13929\Main.java:87: 错误: 需要class, interface或enum
}
^
61 个错误
|