/in/foo.cc: In function 'int ksm(int, int)':
/in/foo.cc:25:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(k&1) res=(ll)res*x%mod;return res;
^~
/in/foo.cc:25:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(k&1) res=(ll)res*x%mod;return res;
^~~~~~
/in/foo.cc:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(;k;k>>=1,x=(ll)x*x%mod)
^~~
/in/foo.cc:25:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(k&1) res=(ll)res*x%mod;return res;
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:47:49: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
for(int i=0;i<n;++i) R[i]=(R[i>>1]>>1)|(i&1)<<L-1;
~^~