/in/foo.cc: In function 'int main()':
/in/foo.cc:28:23: warning: array subscript is below array bounds [-Warray-bounds]
if(j-1<0 &&lei1[j-1][k]=='*');
~~~~~~~~^
/in/foo.cc:37:25: warning: array subscript is below array bounds [-Warray-bounds]
if(k-1<0&&lei1[j][k-1]=='*');
~~~~~~~~~~~^
/in/foo.cc:41:34: warning: array subscript is below array bounds [-Warray-bounds]
if(j-1<0&&k-1<0&&lei1[j-1][k-1]=='*');
~~~~~~~~~~~~~^
/in/foo.cc:41:29: warning: array subscript is below array bounds [-Warray-bounds]
if(j-1<0&&k-1<0&&lei1[j-1][k-1]=='*');
~~~~~~~~^
/in/foo.cc:44:22: warning: array subscript is below array bounds [-Warray-bounds]
if(j-1<0&&lei1[j-1][k+1]=='*');
~~~~~~~~^
/in/foo.cc:50:27: warning: array subscript is below array bounds [-Warray-bounds]
if(k-1<0&&lei1[j+1][k-1]=='*');
~~~~~~~~~~~~~^