#include using namespace std; struct cell { int x, y; int dis; cell() {} cell(int x, int y, int dis) : x(x), y(y), dis(dis) {} }; bool isInside(int x, int y, int N) { if (x >= 0 && x < N && y >= 0 && y < N) return true; return false; } void printShortestPath(int n, int i_start, int j_start, int i_end, int j_end) { queue q; int dy[] = {-1,1,2,1,-1,-2}; int dx[] = {-2,-2,0,2,2,0}; q.push(cell(i_start,j_start, 0)); cell t; int x, y; bool visit[n][n]; for (int i = 0; i > 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; }