/in/foo.cc: In function 'int main()':
/in/foo.cc:23:16: warning: statement has no effect [-Wunused-value]
{a[i][j+1]==0;
~~~~~~~~~^~~
/in/foo.cc:24:13: warning: statement has no effect [-Wunused-value]
a[i][j-1]==0;
~~~~~~~~~^~~
/in/foo.cc:25:13: warning: statement has no effect [-Wunused-value]
a[i+1][j]==0;
~~~~~~~~~^~~
/in/foo.cc:26:13: warning: statement has no effect [-Wunused-value]
a[i-1][j]==0;
~~~~~~~~~^~~
/in/foo.cc:27:11: warning: statement has no effect [-Wunused-value]
a[i][j]==0;
~~~~~~~^~~
/in/foo.cc:33:31: error: expected primary-expression before 'break'
if(a[i][j]) cout<<"NO",k1++,break;
^~~~~