提交 62edf194 编写于 作者: Z zx_lhb

modify main.cpp

上级 645daef0
......@@ -36,7 +36,7 @@ int main()
/*for (auto grid : path) {
cout << grid->x << ", " << grid->y << endl;
}*/
cout << path.size() << endl;
cout << "steps: "<<path.size() << endl;
// 显示迷宫路径,路径用*表示
astar.printPath(startGrid,endGrid,path);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册