#include using namespace std; int d[209][209]; int f[209][209]; int w[209][209]; string D[6]={"UL","UR","R","LR","LL","L"}; int dy[6]={-1,1,2,1,-1,-2}; int dx[6]={-2,-2,0,2,2,0}; bool ch(int x, int y, int n) { if(x>=0 && x=0 && y > q; q.push({i_start,j_start}); while(q.size()) { pair v=q.front(); q.pop(); int x=v.first,y=v.second; // cout< V; int p=i_end,Q=j_end; while(p!=i_start || Q!=j_start) { V.push_back(D[w[p][Q]]); int c=dy[w[p][Q]]; p-=dx[w[p][Q]]; Q-=c; } cout<> n; int i_start; int j_start; int i_end; int j_end; cin >> i_start >> j_start >> i_end >> j_end; printShortestPath(n, i_start, j_start, i_end, j_end); return 0; }