洛谷P1443 马的遍历(BFS)

传送门 难度 https://www.luogu.com.cn/problem/P1443 普及/提升- 分析 思路很傻瓜,不越界就好了。 可是输出很坑。这里须要使用%-5d来,知足输出。 -是左对齐打印,5是占5个字符位。node AC代码 #include<iostream> #include<cstdio> #include<string> #include<cstring> #includ
相关文章
相关标签/搜索