//哈哈我这个自学的没看什么广度优先搜索就靠学过的回溯也做出这道题了,成就感满满 //思路就是记录路径,加入list,判断有没有路可以走,如果可走的路已经存在于list中那么就回溯 直到最后返回。代码比较乱先这样吧,明天再修改看看 using System; using System.Linq; using System.Collections.Generic; class Program { static int x, y; static List<int[]> list; static void Main(string[] args) { string num=(Conso...