/in/foo.cc: In function 'int main()':
/in/foo.cc:32:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1; i<=n; i++)
^~~
/in/foo.cc:34: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:41:18: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n",m);
^