摘要:
同样是BFS过的,注意骑士走的方法就可以了 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include using namespace std;struct node{ int x,y; int step... 阅读全文
摘要:
也是很水的一道题直接用DFS或BFS搜索即可,甚至不用考虑剪枝但是题目变量要注意,我就是没注意w和h,结果wa了做题目一定要仔细CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include using namespace ... 阅读全文