importjava.util.Scanner;publicclassDP1 {publicstaticvoidmain(String[] args) { Scanner sc=newScanner(System.in);//创建棋盘inta=sc.nextInt();intb=sc.nextInt(); a++; b++;long[][] qp=newlong[a][b];//创建马intn=sc.nextInt();intm=sc.nextInt();//如果马的控制点在棋盘内 设置为0q...