/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:62:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[l]][i];return;
^~~
/in/foo.cc:62:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[l]][i];return;
^~~~~~
/in/foo.cc:63:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
}int mid=l+r>>1;
~^~
/in/foo.cc: In function 'void modify(int, int, int, int)':
/in/foo.cc:69:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[p]][i];return;
^~~
/in/foo.cc:69:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[p]][i];return;
^~~~~~
/in/foo.cc:70:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
}int mid=l+r>>1;
~^~
/in/foo.cc: In function 'void qr(int, int, int, int, int)':
/in/foo.cc:76:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'void qr1(int, int, int, int, int)':
/in/foo.cc:82:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:106:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int j=1;j<=m;++j) t[p][j]=v[j];modify(1,1,n,in[p]);
^~~
/in/foo.cc:106:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int j=1;j<=m;++j) t[p][j]=v[j];modify(1,1,n,in[p]);
^~~~~~