0_0_30518023_29271\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_30518023_29271\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_30518023_29271\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_30518023_29271\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_30518023_29271\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_30518023_29271\Main.java:5: 错误: 非法字符: '#'
#include <vector>
^
0_0_30518023_29271\Main.java:8: 错误: 非法字符: '#'
#define maxn 100010
^
0_0_30518023_29271\Main.java:8: 错误: 需要class, interface或enum
#define maxn 100010
^
0_0_30518023_29271\Main.java:9: 错误: 非法字符: '#'
#define ll long long
^
0_0_30518023_29271\Main.java:11: 错误: 需要class, interface或enum
int a[maxn];
^
0_0_30518023_29271\Main.java:12: 错误: 需要class, interface或enum
int T[maxn], ls[maxn], rs[maxn];
^
0_0_30518023_29271\Main.java:13: 错误: 需要class, interface或enum
ll tree[maxn<<5];
^
0_0_30518023_29271\Main.java:14: 错误: 需要class, interface或enum
char op;
^
0_0_30518023_29271\Main.java:15: 错误: 需要class, interface或enum
int smark;
^
0_0_30518023_29271\Main.java:16: 错误: 需要class, interface或enum
int mark[maxn<<5];
^
0_0_30518023_29271\Main.java:17: 错误: 需要class, interface或enum
inline void push_up(int x){tree[x] = tree[ls[x]] + tree[rs[x]];}
^
0_0_30518023_29271\Main.java:17: 错误: 需要class, interface或enum
inline void push_up(int x){tree[x] = tree[ls[x]] + tree[rs[x]];}
^
0_0_30518023_29271\Main.java:19: 错误: 需要class, interface或enum
int tot;
^
0_0_30518023_29271\Main.java:21: 错误: 需要class, interface或enum
void build(int L, int R, int &index)
^
0_0_30518023_29271\Main.java:24: 错误: 需要class, interface或enum
if(L == R)
^
0_0_30518023_29271\Main.java:27: 错误: 需要class, interface或enum
return ;
^
0_0_30518023_29271\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:30: 错误: 需要class, interface或enum
build(L, mid, ls[index]);
^
0_0_30518023_29271\Main.java:31: 错误: 需要class, interface或enum
build(mid+1, R, rs[index]);
^
0_0_30518023_29271\Main.java:32: 错误: 需要class, interface或enum
push_up(index);
^
0_0_30518023_29271\Main.java:33: 错误: 需要class, interface或enum
return;
^
0_0_30518023_29271\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:39: 错误: 需要class, interface或enum
tree[index] = tree[pre];
^
0_0_30518023_29271\Main.java:40: 错误: 需要class, interface或enum
ls[index] = ls[pre];
^
0_0_30518023_29271\Main.java:41: 错误: 需要class, interface或enum
rs[index] = rs[pre];
^
0_0_30518023_29271\Main.java:42: 错误: 需要class, interface或enum
mark[index] = mark[pre];
^
0_0_30518023_29271\Main.java:44: 错误: 需要class, interface或enum
tree[index] += x*(min(R, r) - max(L, l) + 1);
^
0_0_30518023_29271\Main.java:45: 错误: 需要class, interface或enum
if(l <= L && r >= R)
^
0_0_30518023_29271\Main.java:48: 错误: 需要class, interface或enum
return;
^
0_0_30518023_29271\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:51: 错误: 需要class, interface或enum
if(l <= mid)updata(ls[index], ls[pre], l, r, x, L, mid);
^
0_0_30518023_29271\Main.java:52: 错误: 需要class, interface或enum
if(r > mid)updata(rs[index], rs[pre], l, r, x, mid + 1, R);
^
0_0_30518023_29271\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:58: 错误: 需要class, interface或enum
if(l <= L&& r >= R)
^
0_0_30518023_29271\Main.java:61: 错误: 需要class, interface或enum
return sum;
^
0_0_30518023_29271\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:64: 错误: 需要class, interface或enum
int mid = L + ((R - L)>>1);
^
0_0_30518023_29271\Main.java:65: 错误: 需要class, interface或enum
if(l <= mid)sum += query(ls[index], l, r, L, mid);
^
0_0_30518023_29271\Main.java:66: 错误: 需要class, interface或enum
if(r > mid)sum += query(rs[index], l , r, mid + 1, R);
^
0_0_30518023_29271\Main.java:67: 错误: 需要class, interface或enum
smark = 0;
^
0_0_30518023_29271\Main.java:68: 错误: 需要class, interface或enum
return sum;
^
0_0_30518023_29271\Main.java:69: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:75: 错误: 需要class, interface或enum
scanf("%d%d", &n, &m);
^
0_0_30518023_29271\Main.java:76: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) scanf("%d", &a[i]);
^
0_0_30518023_29271\Main.java:76: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) scanf("%d", &a[i]);
^
0_0_30518023_29271\Main.java:76: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) scanf("%d", &a[i]);
^
0_0_30518023_29271\Main.java:77: 错误: 需要class, interface或enum
build(1, n, T[0]);
^
0_0_30518023_29271\Main.java:78: 错误: 需要class, interface或enum
T[0] = 1;
^
0_0_30518023_29271\Main.java:79: 错误: 需要class, interface或enum
for (int i = 1; i <= m; ++i)
^
0_0_30518023_29271\Main.java:79: 错误: 需要class, interface或enum
for (int i = 1; i <= m; ++i)
^
0_0_30518023_29271\Main.java:79: 错误: 需要class, interface或enum
for (int i = 1; i <= m; ++i)
^
0_0_30518023_29271\Main.java:82: 错误: 需要class, interface或enum
scanf("%c", &op);
^
0_0_30518023_29271\Main.java:83: 错误: 需要class, interface或enum
scanf("%d%d", &l, &r);
^
0_0_30518023_29271\Main.java:84: 错误: 需要class, interface或enum
if(op=='C'||op=='H')
^
0_0_30518023_29271\Main.java:87: 错误: 需要class, interface或enum
if(op == 'H')
^
0_0_30518023_29271\Main.java:92: 错误: 需要class, interface或enum
time = num;
^
0_0_30518023_29271\Main.java:93: 错误: 需要class, interface或enum
cout << query(T[time],l, r, 1, n)<<endl;
^
0_0_30518023_29271\Main.java:94: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:98: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:103: 错误: 需要class, interface或enum
updata(T[time], T[time-1], l, r, num, 1, n);
^
0_0_30518023_29271\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:109: 错误: 需要class, interface或enum
}
^
0_0_30518023_29271\Main.java:112: 错误: 需要class, interface或enum
}
^
68 个错误
|