/in/foo.cc: In function 'int main()':
/in/foo.cc:11:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++) cout<<a[i]<<" ";cout<<endl;
^~~
/in/foo.cc:11:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i=1;i<=n;i++) cout<<a[i]<<" ";cout<<endl;
^~~~
/in/foo.cc:17:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else maxx=max(maxx,a[i+1]);minx=min(minx,a[i]);
^~~~
/in/foo.cc:17:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
else maxx=max(maxx,a[i+1]);minx=min(minx,a[i]);
^~~~