cmp.cpp: In function 'void remember(int)':
cmp.cpp:14:9: error: 'bit_set' was not declared in this scope
bit_set(((n >> (i * 2)))+arr[i]) = true;
^~~~~~~
cmp.cpp:14:9: note: suggested alternative: 'sigset'
bit_set(((n >> (i * 2)))+arr[i]) = true;
^~~~~~~
sigset
cmp.cpp: In function 'int compare(int)':
cmp.cpp:24:12: error: 'bit_get' was not declared in this scope
if(bit_get(((n >> (mid * 2)))+arr[mid])){
^~~~~~~
cmp.cpp:57:12: error: 'bit_get' was not declared in this scope
if(bit_get(((4*(n >> ((ans) * 2)))+i)+arr[ans-1])){
^~~~~~~