icc.cpp: In function 'int getPAr(int)':
icc.cpp:17:9: error: 'getPar' was not declared in this scope
return getPar(par[v]);
^~~~~~
icc.cpp:17:9: note: suggested alternative: 'getPAr'
return getPar(par[v]);
^~~~~~
getPAr
icc.cpp: In function 'void merge(int, int)':
icc.cpp:21:6: error: 'getPar' was not declared in this scope
v = getPar(v);
^~~~~~
icc.cpp:21:6: note: suggested alternative: 'getPAr'
v = getPar(v);
^~~~~~
getPAr
icc.cpp:26:16: error: 'h' was not declared in this scope
for (auto e : h[v])
^
icc.cpp:28:2: error: 'h' was not declared in this scope
h[v].clear();
^
icc.cpp: In function 'void solve()':
icc.cpp:39:2: error: 'prt' was not declared in this scope
prt = 0;
^~~
icc.cpp:52:19: error: 'h' was not declared in this scope
for (auto e : h[arr[j]])
^
icc.cpp:56:19: error: 'h' was not declared in this scope
for (auto e : h[arr[j]])
^
icc.cpp:62:17: error: expected unqualified-id before 'int'
int now_a = 0, int now_b = 0;
^~~
icc.cpp:63:2: error: 'now_b' was not declared in this scope
now_b |= 1 << __builtin_ctz(xor_);
^~~~~
icc.cpp:63:2: note: suggested alternative: 'now_a'
now_b |= 1 << __builtin_ctz(xor_);
^~~~~
now_a
icc.cpp:65:9: error: invalid operands of types 'int [110]' and 'int' to binary 'operator&'
if (b & (1 << i)) continue;
~~^~~~~~~~~~
icc.cpp:71:21: error: 'nowa' was not declared in this scope
if (j & must == nowa) {
^~~~
icc.cpp:71:21: note: suggested alternative: 'now_a'
if (j & must == nowa) {
^~~~
now_a
icc.cpp:73:21: error: 'h' was not declared in this scope
for (auto e : h[arr[j]])
^
icc.cpp:76:26: error: 'nowb' was not declared in this scope
else if (j & must == nowb) {
^~~~
icc.cpp:76:26: note: suggested alternative: 'now_a'
else if (j & must == nowb) {
^~~~
now_a
icc.cpp:79:20: error: 'h' was not declared in this scope
for (auto e: h[arr[j]])
^
icc.cpp:83:23: error: 'size_' was not declared in this scope
if (query(size_a , size_ , a , b))
^~~~~
icc.cpp:83:23: note: suggested alternative: 'size_b'
if (query(size_a , size_ , a , b))
^~~~~
size_b
icc.cpp:93:21: error: 'nowa' was not declared in this scope
if (j & must == nowa) {
^~~~
icc.cpp:93:21: note: suggested alternative: 'now_a'
if (j & must == nowa) {
^~~~
now_a
icc.cpp:95:21: error: 'h' was not declared in this scope
for (auto e : h[arr[j]])
^
icc.cpp:98:26: error: 'nowb' was not declared in this scope
else if (j & must == nowb) {
^~~~
icc.cpp:98:26: note: suggested alternative: 'now_a'
else if (j & must == nowb) {
^~~~
now_a
icc.cpp:100:21: error: 'h' was not declared in this scope
for (auto e : h[arr[j]])
^
icc.cpp:104:23: error: 'size_' was not declared in this scope
if (query(size_a , size_ , a , b)) {
^~~~~
icc.cpp:104:23: note: suggested alternative: 'size_b'
if (query(size_a , size_ , a , b)) {
^~~~~
size_b
icc.cpp:113:20: error: 'h' was not declared in this scope
int lo = 0, hi = h[now_a].size();
^
icc.cpp:113:20: note: suggested alternative: 'hi'
int lo = 0, hi = h[now_a].size();
^
hi
icc.cpp:115:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = lo + hi >> 1;
~~~^~~~
icc.cpp:131:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = lo + hi >> 1;
~~~^~~~
icc.cpp:135:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (query(1 , mid , a , b));
^~
icc.cpp:136:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
hi = mid;
^~
icc.cpp:137:3: error: 'else' without a previous 'if'
else
^~~~