/in/foo.cc: In function 'int ksm(int, int)':
/in/foo.cc:24:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(k&1) res=(ll)res*x%mod;return res;
^~
/in/foo.cc:24: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:23:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
int res=1;for(;k;k>>=1,x=(ll)x*x%mod)
^~~
/in/foo.cc:24: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 'void ntt(int*, int)':
/in/foo.cc:30:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int wn=ksm(G,f==1?mod-1>>i+1:mod-1-(mod-1>>i+1));
~^~
/in/foo.cc:30:47: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int wn=ksm(G,f==1?mod-1>>i+1:mod-1-(mod-1>>i+1));
~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:49: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
for(int i=0;i<n;++i) R[i]=(R[i>>1]>>1)|(i&1)<<L-1;
~^~