0_0_20989885_6431.cpp:19:19: error: '#' is not followed by a macro parameter
#define FF(i, a, b) for(int i = (a); i < (b); ++i)
^
0_0_20989885_6431.cpp:21:19: error: '#' is not followed by a macro parameter
#define FE(i, a, b) for(int i = (a); i <= (b); ++i)
^
0_0_20989885_6431.cpp:23:17: error: '#' is not followed by a macro parameter
#define REP(i, N) for(int i = 0; i < (N); ++i)
^
0_0_20989885_6431.cpp:60:43: error: stray '#' in program
if (!ch[u][v]) ch[u][v] = tol++;
^
0_0_20989885_6431.cpp:60:48: error: stray '#' in program
if (!ch[u][v]) ch[u][v] = tol++;
^
0_0_20989885_6431.cpp:62:20: error: stray '#' in program
num[u]++;
^
0_0_20989885_6431.cpp:62:25: error: stray '#' in program
num[u]++;
^
0_0_20989885_6431.cpp:108:19: error: stray '#' in program
head[x] = tot++;
^
0_0_20989885_6431.cpp:108:24: error: stray '#' in program
head[x] = tot++;
^
0_0_20989885_6431.cpp:159:18: error: stray '#' in program
sort(qy, qy + m);
^
0_0_20989885_6431.cpp:177:18: error: stray '#' in program
rank++;
^
0_0_20989885_6431.cpp:177:23: error: stray '#' in program
rank++;
^
0_0_20989885_6431.cpp:179:19: error: stray '#' in program
now.k++;
^
0_0_20989885_6431.cpp:179:24: error: stray '#' in program
now.k++;
^
0_0_20989885_6431.cpp:191:32: error: stray '#' in program
for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
^
0_0_20989885_6431.cpp:191:37: error: stray '#' in program
for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
^
0_0_20989885_6431.cpp: In member function 'void Trie::insert(LL)':
0_0_20989885_6431.cpp:60:49: error: lvalue required as unary '&' operand
if (!ch[u][v]) ch[u][v] = tol++;
^
0_0_20989885_6431.cpp:62:26: error: lvalue required as unary '&' operand
num[u]++;
^
0_0_20989885_6431.cpp: In function 'void add_edge(int, int, LL)':
0_0_20989885_6431.cpp:108:25: error: lvalue required as unary '&' operand
head[x] = tot++;
^
0_0_20989885_6431.cpp: In function 'void solve()':
0_0_20989885_6431.cpp:147:9: error: 'i' was not declared in this scope
REP(i, n - 1)
^
0_0_20989885_6431.cpp:147:17: error: 'REP' was not declared in this scope
REP(i, n - 1)
^
0_0_20989885_6431.cpp:159:19: error: invalid operands of types 'query [200010]' and 'int' to binary 'operator&'
sort(qy, qy + m);
^
0_0_20989885_6431.cpp:159:24: error: expected ';' before ')' token
sort(qy, qy + m);
^
0_0_20989885_6431.cpp:165:15: error: 'FE' was not declared in this scope
FE(i, 1, n)
^
0_0_20989885_6431.cpp: In function 'int main()':
0_0_20989885_6431.cpp:191:35: error: expected ')' before ';' token
for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
^
0_0_20989885_6431.cpp:191:38: error: lvalue required as unary '&' operand
for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
^
0_0_20989885_6431.cpp:191:41: error: expected primary-expression before ')' token
for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
^
|