0_0_36312462_6538\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_36312462_6538\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_36312462_6538\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_36312462_6538\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_36312462_6538\Main.java:6: 错误: 需要class, interface或enum
const int maxn = 1e5+10;
^
0_0_36312462_6538\Main.java:7: 错误: 需要class, interface或enum
int tg[maxn];
^
0_0_36312462_6538\Main.java:9: 错误: 需要class, interface或enum
int lowbit(int x) {
^
0_0_36312462_6538\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_36312462_6538\Main.java:14: 错误: 需要class, interface或enum
for(int i = x; i < maxn; i += lowbit(i))
^
0_0_36312462_6538\Main.java:14: 错误: 需要class, interface或enum
for(int i = x; i < maxn; i += lowbit(i))
^
0_0_36312462_6538\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_36312462_6538\Main.java:20: 错误: 需要class, interface或enum
for(int i = x; i > 0; i-=lowbit(i))
^
0_0_36312462_6538\Main.java:20: 错误: 需要class, interface或enum
for(int i = x; i > 0; i-=lowbit(i))
^
0_0_36312462_6538\Main.java:20: 错误: 需要class, interface或enum
for(int i = x; i > 0; i-=lowbit(i))
^
0_0_36312462_6538\Main.java:22: 错误: 需要class, interface或enum
return sum;
^
0_0_36312462_6538\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_36312462_6538\Main.java:29: 错误: 需要class, interface或enum
while(~scanf("%d", &n)&&n) {
^
0_0_36312462_6538\Main.java:31: 错误: 需要class, interface或enum
int a, b;
^
0_0_36312462_6538\Main.java:32: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_36312462_6538\Main.java:32: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_36312462_6538\Main.java:32: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++)
^
0_0_36312462_6538\Main.java:35: 错误: 需要class, interface或enum
add(a, 1); add(b+1, -1);
^
0_0_36312462_6538\Main.java:35: 错误: 需要class, interface或enum
add(a, 1); add(b+1, -1);
^
0_0_36312462_6538\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_36312462_6538\Main.java:37: 错误: 需要class, interface或enum
for(int i = 1; i < n; i++)
^
0_0_36312462_6538\Main.java:37: 错误: 需要class, interface或enum
for(int i = 1; i < n; i++)
^
0_0_36312462_6538\Main.java:39: 错误: 需要class, interface或enum
printf("%d\n", getsum(n));
^
0_0_36312462_6538\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_36312462_6538\Main.java:42: 错误: 需要class, interface或enum
}
^
29 个错误
|