返回顶部
摘要: void BFS_bothsides()//双向BFS { if(s1.state==s2.state)//起点终点相同时要特判 { //do something found=true; return; } bool found=false; memset(visited,0,sizeof(visi 阅读全文
posted @ 2021-11-15 10:31 tianyudizhua 阅读(51) 评论(0) 推荐(0) 编辑