import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void makeZero(int a[][] , int n){ for(int i=0 ; i< n ; i++){ for(int j=0; j=0 && j-b>=0 && tahta[i - a][j - b]==-1) { tahta[i - a][j - b] =mark +1; moved = true; } if(i+a=0 && tahta[i +a ][j - b]==-1) {tahta[i +a ][j - b] =mark +1; moved = true; } if(i-a>=0 && j+b < n && tahta[i-a][j+b]==-1) {tahta[i-a][j+b] =mark +1; moved = true; } if(i+b= 0 && tahta[i + b][j - a]==-1) {tahta[i + b][j - a] =mark +1; moved = true; } if(i-b>=0 && j-a>=0 && tahta[i - b][j - a]==-1) {tahta[i - b][j - a] =mark +1; moved = true; } if(i+b=0 && j+a