摘要:
思路: 先建树,然后按层次输出。 PTA 阅读全文
摘要:
1 #include///该头文件为万能头文件,有些学校oj不能使用,读者可根据需要自行修改 2 using namespace std; 3 const int MAXN=305; 4 int vis[MAXN][MAXN]; 5 int X[9]={0,-2,-1,-2,-1,1,2,2,1}; 6 int Y[9]={0,-1,-2,1,2,2,1,-1,-2}; 7 str... 阅读全文