import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int getMinMoves(int n, int a, int b){ final int MY_MAX = n*n; int[][] dist = new int[n][n]; boolean[][] visited = new boolean[n][n]; for(int i=0; i=0 && nx=0 && ny