[题目链接] https://www.lydsy.com/JudgeOnline/problem.php?id=1085 [算法] IDA* [代码] #include<bits/stdc++.h> using namespace std; ] = {-,-,-,-,,,,}; ] = {-,,-,,-,,-,}; ][] = { {,,,,}, {,,,,}, {,,,,}, {,,,,}, {,,,,} }; int i,j,T,x,y,step; char c; bool solved;…