/in/foo.cc: In function 'void init()':
/in/foo.cc:10:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
if(t[i][j]==0)
~~~~~~^
/in/foo.cc:7:19: note: within this loop
for(int j=1;j<=10;j++)
~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
if(t[i][j]==2)
~~~~~~^
/in/foo.cc:50:19: note: within this loop
for(int j=1;j<=10;j++)
~^~~~
/in/foo.cc:30:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
if(t[i][j]>=2)
~~~~~~^
/in/foo.cc:26:19: note: within this loop
for(int j=1;j<=10;j++)
~^~~~
/in/foo.cc:22:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
if(t[j][i]>=2)
~~~~~~^
/in/foo.cc:18:19: note: within this loop
for(int j=1;j<=10;j++)
~^~~~