cmp.cpp: In function 'void st(int)':
cmp.cpp:8:9: error: 'bit_set' was not declared in this scope; did you mean 'tzset'?
8 | bit_set(i+1);
| ^~~~~~~
| tzset
cmp.cpp: In function 'int gt(int)':
cmp.cpp:11:16: error: 'get_bit' was not declared in this scope
11 | return get_bit(i+1);
| ^~~~~~~
cmp.cpp: In function 'int compare(int)':
cmp.cpp:19:36: error: 'i' was not declared in this scope
19 | int m=(l+r)/2,g=gt(i);
| ^
cmp.cpp:20:42: error: expected primary-expression before ')' token
20 | if(bool(value&(1<<i))==g)){
| ^
cmp.cpp:24:22: error: expected primary-expression before '=' token
24 | else =m;
| ^
cmp.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
27 | }
| ^