bridge.cpp: In function 'll f(ll)':
bridge.cpp:18:31: warning: left shift count >= width of type [-Wshift-count-overflow]
if(k == 1) return g(a,-1<<33);
^~
bridge.cpp:21:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
m = l+r >> 1;
~^~
bridge.cpp: In function 'int main()':
bridge.cpp:31:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
scanf(" %c%d %c%d",&c1,&x,&c2,&y);
~~ ^
bridge.cpp:31:35: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'll* {aka long long int*}' [-Wformat=]
bridge.cpp:39:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
m = l+r >> 1;
~^~
bridge.cpp:31:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c%d %c%d",&c1,&x,&c2,&y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~