/in/foo.cc: In function 'int main()':
/in/foo.cc:13:5: error: expected ')' before 'ans'
ans += abs(x[n+1>>1]-x[i])+abs(y[n+1>>1]-y[i]));
^~~
/in/foo.cc:13:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
ans += abs(x[n+1>>1]-x[i])+abs(y[n+1>>1]-y[i]));
~^~
/in/foo.cc:13:39: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
ans += abs(x[n+1>>1]-x[i])+abs(y[n+1>>1]-y[i]));
~^~
/in/foo.cc:13:51: error: expected ';' before ')' token
ans += abs(x[n+1>>1]-x[i])+abs(y[n+1>>1]-y[i]));
^