#include using namespace std; struct node{ int curr_x,curr_y; int moves; vector path; }; struct comp { bool operator()(struct node const & p1, struct node const & p2) { // return "true" if "p1" is ordered before "p2", for example: return p1.moves < p2.moves; } }; int row[6]={-2 ,-2 , 0 , 2 , 2 , 0}; int col[6]={-1 , 1 , 2 , 1 , -1,-2}; int check(int x,int y,int n) { if(x>=0 && x=0 && y pq; //struct node n=(struct node*)malloc(sizeof(struct node)); //cout<<"DONE"<> 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; }