[問題] 騎士問題(已解決)
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
沒有一格能走完全程
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
http://pastie.org/5466660
補充說明(Supplement):
一開始輸入起始座標後 開始去走
目前是走到死路後返回
然後就開始亂走了
不知道返回那邊錯誤出在哪
麻煩了
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.40.194.210
噓
12/03 11:16, , 1F
12/03 11:16, 1F