/in/foo.cc: In function 'int main()':
/in/foo.cc:31:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1; i<=n; i++)
^~~
/in/foo.cc:33:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
int l,r,m;
^~~
/in/foo.cc: In function 'int check(int)':
/in/foo.cc:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:40:18: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n",m);
^