#include using namespace std; int rd[6]={-2,-2,0,0,2,2}; int cd[6]={-1,1,-2,2,-1,1}; string dir[6]={"UL","UR","L","R","LL","LR"}; string Path[201][201]; int MinPath[201][201]; bool Visited[201][201]={0}; /*bool isPossible(int n,int r,int c,int r_end,int c_end) { if(Visited[r][c]) { return false; } return true; }*/ void printShortestPath(int n, int i_start, int j_start, int i_end, int j_end) { //cout<=0 && c>=0 && r> n; int i_start; int j_start; int i_end; int j_end; cin >> i_start >> j_start >> i_end >> j_end; for(int i=0;i<201;i++) { for(int j=0;j<201;j++) { MinPath[i][j]=INT_MAX; } } MinPath[i_end][j_end]=0; //Visited[i_end][j_end]=1; printShortestPath(n, i_start, j_start, i_end, j_end); if(Visited[i_end][j_end]==0) { cout<<"Impossible\n"; return 0; } cout<