#include #include #include #include #include #include #include void printShortestPath(int n, int i_start, int j_start, int i_end, int j_end) { char str[1000]=""; int c=0,x; //char s[44]="UL "; while(n--) { if(i_start>i_end && j_start >j_end) strcat(str,"UL "); else if(i_start>i_end && j_start j_end) strcat(str, "UR "); else if(i_startj_end) strcat(str,"L "); else if(i_start==i_end && j_start