0_0_21194028_16385.cpp: In function 'void addedge(int, int)':
0_0_21194028_16385.cpp:11:2: error: 'nbsp' was not declared in this scope
e[++ cnt].next = first[x];e[cnt].y = y;first[x] = cnt;
^
0_0_21194028_16385.cpp: In function 'void read(int&)':
0_0_21194028_16385.cpp:15:2: error: 'nbsp' was not declared in this scope
while (ch = getchar(),ch < '0' || ch > '9');
^
0_0_21194028_16385.cpp: In function 'void bfs()':
0_0_21194028_16385.cpp:20:2: error: 'nbsp' was not declared in this scope
head = tail = 0;
^
0_0_21194028_16385.cpp: In function 'void dfs()':
0_0_21194028_16385.cpp:45:2: error: 'nbsp' was not declared in this scope
s[tot = now = 1] = 1;
^
0_0_21194028_16385.cpp: In function 'void push_down(int)':
0_0_21194028_16385.cpp:78:2: error: 'nbsp' was not declared in this scope
T[k * 2].s += T[k].s;
^
0_0_21194028_16385.cpp: In function 'void add(int, int, int, int)':
0_0_21194028_16385.cpp:83:2: error: 'nbsp' was not declared in this scope
if (l == T[k].l && r == T[k].r){
^
0_0_21194028_16385.cpp:90:14: error: 'else' without a previous 'if'
else if (m < l) add(l,r,z,k * 2 + 1);
^
0_0_21194028_16385.cpp:91:14: error: 'else' without a previous 'if'
else {
^
0_0_21194028_16385.cpp: In function 'void work(int, int, int)':
0_0_21194028_16385.cpp:97:2: error: 'nbsp' was not declared in this scope
int t;
^
0_0_21194028_16385.cpp: In function 'void build(int, int, int)':
0_0_21194028_16385.cpp:107:2: error: 'nbsp' was not declared in this scope
T[k].l = l;T[k].r = r;T[k].s = 0;
^
0_0_21194028_16385.cpp: In function 'int query(int, int)':
0_0_21194028_16385.cpp:114:2: error: 'nbsp' was not declared in this scope
if (x == T[k].l && x == T[k].r) return T[k].s;
^
0_0_21194028_16385.cpp:118:14: error: 'else' without a previous 'if'
else return query(x,k * 2 + 1);
^
0_0_21194028_16385.cpp: In function 'void clear()':
0_0_21194028_16385.cpp:121:2: error: 'nbsp' was not declared in this scope
memset(first,0,sizeof first);
^
0_0_21194028_16385.cpp: In function 'int main()':
0_0_21194028_16385.cpp:128:2: error: 'nbsp' was not declared in this scope
while (scanf("%d%d%d",&n,&m,&Q) != EOF){
^
0_0_21194028_16385.cpp:146:56: error: 'else' without a previous 'if'
else printf("%d\n",a[x] + query(w[x],1));
^
|