用C語言實現八數碼問題

#include<stdio.h> #include<conio.h>數組 int n,m; typedef struct Node { char matrix[10];/*存儲矩陣*/ char operate;/*存儲不能夠進行的操做,L表明不能左移R表明不能右移U表明不能上移D表明不能下移*/ char extend;/*是否能夠擴展,Y表明能夠,N表明不能夠*/ int  father;/
相關文章
相關標籤/搜索