摘要: Eight 题意:八数码问题 思路:反向BFS+康托展开 const int maxn = 362885; const int FAC[] = { 1,1,2,6,24,120,720,5040,40320,362880,3628800 }; int cantor(int* a) {//算出全排列对 阅读全文
posted @ 2020-07-23 23:30 StreamAzure 阅读(111) 评论(0) 推荐(0)