m;j>=l;j>)//!_`Ki® F\rif(d[i][j]-c>0)printfd[i][j]-c);\relseprintf(z&%4d&z,d[i][j]-c+65tLEvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rfor(b=2;b>=l;b>)\rfor(j=m;j>=l;j>)//!_`i E,D\rprintfd[i][j]+(b+3)*m*n-c);\rprintf("\n");\r)\rfor(i=l;i<=n;i++)\r{for(b=l;b<=3;b++)\rfor(j=l;j<=m;j++)//!" A B,C\rprintfd[i][j]+b*m*n-c);\rprintf;\r)\r)\relseprintf(/z@ABEFJK\n");\r}\r//c
\rintt(intg,intx,inty)\r{intu,v,k=0,q=0;\rinta[9]={0,2,1,-1,-2,-2,-1,1,2};//8ha,bjkl\rintb[9]={0,1,2,2,1,-1,-2,-2,-1};\rwhile(q==0&&k<8)\r{k=k+l;u=x+a[k];v=y+b[k];//;<kphi\rif(u>0&&u<=n&&v>0&&v<=m&&d[u][v]=0)//h^\r{d[u][v]=g;//g\rif(g=m*n)\r{if(u=2&&v=nrl)//" 6^nr1)\r{z++;q=l;returnq;}\rg=g-lL\r)\relseq=t(g+1,u,v);\rif(q=0)d[u][v]=0;?-./0\rif(g=2&&k=8)\rq=lL?/0,/\rreturnq;\r}