/in/foo.cc: In function 'int main()':
/in/foo.cc:17:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(i=3)
^
/in/foo.cc:24:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(i=4)
^
/in/foo.cc:31:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(i=5)
^
/in/foo.cc:38:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(i=6)
^
/in/foo.cc:36:20: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]
a[i][j]=a[i][j-1]+1;
~~~~~~~~^
/in/foo.cc:35:17: note: within this loop
for(int j=7;j<=200;j++)
~^~~~~
/in/foo.cc:29:20: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
a[i][j]=a[i][j-1]+1;
~~~~~~~~^
/in/foo.cc:28:17: note: within this loop
for(int j=6;j<=200;j++)
~^~~~~
/in/foo.cc:22:20: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]
a[i][j]=a[i][j-1]+1;
~~~~~~~~^
/in/foo.cc:21:17: note: within this loop
for(int j=5;j<=200;j++)
~^~~~~
/in/foo.cc:15:11: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]
a[i][j]=j/i;
~~~~~~~^~~~
/in/foo.cc:14:17: note: within this loop
for(int j=6;j<=200;j++)
~^~~~~
/in/foo.cc:36:10: warning: array subscript is above array bounds [-Warray-bounds]
a[i][j]=a[i][j-1]+1;
~~~~~~^
/in/foo.cc:41:10: warning: array subscript is above array bounds [-Warray-bounds]
a[i][7]=1;
~~~~~~^
/in/foo.cc:43:20: warning: array subscript is above array bounds [-Warray-bounds]
a[i][j]=a[i][j-1]+1;
~~~~~~~~^
/in/foo.cc:43:10: warning: array subscript is above array bounds [-Warray-bounds]
a[i][j]=a[i][j-1]+1;
~~~~~~^