Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:16:15: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations] if(a[i]+a[j]==s) ~~~^ /in/foo.cc:14:15: note: within this loop for(j=i+1; j<=9; j++) ~^~~
/in/foo.cc: In function 'int main()': /in/foo.cc:16:15: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations] if(a[i]+a[j]==s) ~~~^ /in/foo.cc:14:15: note: within this loop for(j=i+1; j<=9; j++) ~^~~