/in/foo.cc: In function 'int main()':
/in/foo.cc:34:13: error: 'maxt' was not declared in this scope
modify(t+maxt,1)
^~~~
/in/foo.cc:40:14: error: 'maxt' was not declared in this scope
modify(t+maxt,0);
^~~~
/in/foo.cc:56:32: warning: pointer to a function used in arithmetic [-Wpointer-arith]
printf("Median = %d\n",left-maxn);
^~~~
/in/foo.cc:56:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::ios_base& (*)(std::ios_base&)' [-Wformat=]
printf("Median = %d\n",left-maxn);
^