#include<bits/stdc++.h> #define x first #define y second using namespace std; const int N=20; int dx[4]={1,1,2,2},dy[4]={2,-2,1,-1}; int n,m,cnt; void dfs(int x,int y) { //到达终点就方案数+1 if(x==n&&y==m) { cnt++; return ; //出界了就return }else if(x>n||x<...