/in/foo.cc: In function 'int main()':
/in/foo.cc:18:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++) cout<<s[i]<<" ";cout<<endl;
^~~
/in/foo.cc:18: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<<s[i]<<" ";cout<<endl;
^~~~
/in/foo.cc:9:30: warning: iteration 299 invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i=1;i<=300;i++) s[i]=99999999;
~~~~^~~~~~~~~
/in/foo.cc:9:15: note: within this loop
for(int i=1;i<=300;i++) s[i]=99999999;
~^~~~~