/in/foo.cc: In function 'int main()':
/in/foo.cc:40:19: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(i + (1 << j - 1) > n) continue;
~~^~~
/in/foo.cc:41:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(f[i][j-1] < f[i+(1<<j-1)][j-1])
~^~
/in/foo.cc:43:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
else f[i][j] = f[i+(1<<j-1)][j-1], g[i][j] = g[i+(1<<j-1)][j-1];
~^~
/in/foo.cc:43:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
else f[i][j] = f[i+(1<<j-1)][j-1], g[i][j] = g[i+(1<<j-1)][j-1];
~^~