icc.cpp: In function 'int getPAr(int)':
icc.cpp:14:9: error: 'getPar' was not declared in this scope
return getPar(par[v]);
^~~~~~
icc.cpp:14:9: note: suggested alternative: 'getPAr'
return getPar(par[v]);
^~~~~~
getPAr
icc.cpp: In function 'void merge(int, int)':
icc.cpp:18:6: error: 'getPar' was not declared in this scope
v = getPar(v);
^~~~~~
icc.cpp:18:6: note: suggested alternative: 'getPAr'
v = getPar(v);
^~~~~~
getPAr
icc.cpp:23:16: error: 'h' was not declared in this scope
for (auto e : h[v])
^
icc.cpp:25:2: error: 'h' was not declared in this scope
h[v].clear();
^
icc.cpp: In function 'void solve()':
icc.cpp:36:2: error: 'prt' was not declared in this scope
prt = 0;
^~~
icc.cpp:47:7: error: 'j' was not declared in this scope
rep(j , 0 , ptr) {
^
icc.cpp:47:3: error: 'rep' was not declared in this scope
rep(j , 0 , ptr) {
^~~
icc.cpp:59:17: error: expected unqualified-id before 'int'
int now_a = 0, int now_b = 0;
^~~
icc.cpp:60:2: error: 'now_b' was not declared in this scope
now_b |= 1 << __builtin_ctz(xor_);
^~~~~
icc.cpp:60:2: note: suggested alternative: 'now_a'
now_b |= 1 << __builtin_ctz(xor_);
^~~~~
now_a
icc.cpp:62:9: error: invalid operands of types 'int [110]' and 'int' to binary 'operator&'
if (b & (1 << i)) continue;
~~^~~~~~~~~~
icc.cpp:66:8: error: 'j' was not declared in this scope
rep(j , 0 , ptr) {
^
icc.cpp:66:4: error: 'rep' was not declared in this scope
rep(j , 0 , ptr) {
^~~
icc.cpp:80:23: error: 'size_' was not declared in this scope
if (query(size_a , size_ , a , b))
^~~~~
icc.cpp:80:23: note: suggested alternative: 'size_b'
if (query(size_a , size_ , a , b))
^~~~~
size_b
icc.cpp:65:8: warning: unused variable 'size_b' [-Wunused-variable]
int size_b = 0;
^~~~~~
icc.cpp:88:8: error: 'j' was not declared in this scope
rep(j , 0 , ptr) {
^
icc.cpp:88:4: error: 'rep' was not declared in this scope
rep(j , 0 , ptr) {
^~~
icc.cpp:101:23: error: 'size_' was not declared in this scope
if (query(size_a , size_ , a , b)) {
^~~~~
icc.cpp:101:23: note: suggested alternative: 'size_b'
if (query(size_a , size_ , a , b)) {
^~~~~
size_b
icc.cpp:87:8: warning: unused variable 'size_b' [-Wunused-variable]
int size_b = 0;
^~~~~~
icc.cpp:110:20: error: 'h' was not declared in this scope
int lo = 0, hi = h[now_a].size();
^
icc.cpp:110:20: note: suggested alternative: 'hi'
int lo = 0, hi = h[now_a].size();
^
hi
icc.cpp:112:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = lo + hi >> 1;
~~~^~~~
icc.cpp:115:7: error: 'i' was not declared in this scope
rep(i , 0 , mid)
^
icc.cpp:115:7: note: suggested alternative: 'hi'
rep(i , 0 , mid)
^
hi
icc.cpp:115:3: error: 'rep' was not declared in this scope
rep(i , 0 , mid)
^~~
icc.cpp:128:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = lo + hi >> 1;
~~~^~~~
icc.cpp:130:7: error: 'i' was not declared in this scope
rep(i , 0 , mid)
^
icc.cpp:130:7: note: suggested alternative: 'hi'
rep(i , 0 , mid)
^
hi
icc.cpp:130:3: error: 'rep' was not declared in this scope
rep(i , 0 , mid)
^~~
icc.cpp:132:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (query(1 , mid , a , b));
^~
icc.cpp:133:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
hi = mid;
^~
icc.cpp:134:3: error: 'else' without a previous 'if'
else
^~~~
icc.cpp: In function 'void run(int)':
icc.cpp:142:6: error: 'i' was not declared in this scope
rep(i , 1 , n + 1)
^
icc.cpp:142:2: error: 'rep' was not declared in this scope
rep(i , 1 , n + 1)
^~~