摘要:这题跟北大1915题很像,怀疑是从北大抄过来的……#include <cstdio>#include <cstring>#include <queue>using namespace std;#define MAXL 20typedef struct { int x; int y; int step;} MyPoint;MyPoint start;int endx, endy, L = 8;bool visited[MAXL][MAXL];int move[8][2] = { { 2, 1 }, { 2, -1 }, { -2, 1 }, { -2, -1
阅读全文