这道题可以用递推,简单
#include <iostream>
using namespace std;
int ma[8][2]={
{
1,-2},{
2,-1},{
2,1},{
1,2},{
-1,-2},{
-2,-1},{
-2,1},{
-1,2}};
这道题可以用递推,简单
#include <iostream>
using namespace std;
int ma[8][2]={
{
1,-2},{
2,-1},{
2,1},{
1,2},{
-1,-2},{
-2,-1},{
-2,1},{
-1,2}};