摘要: description: There are \(3\) buckets, whose volume are \(a,b,c\) respectly. How can you get \(k\) \(L\) oil by the three buckets? (Initially, the firs 阅读全文
posted @ 2021-03-03 08:44 _dwt 阅读(75) 评论(0) 推荐(0)
摘要: description: 9宫格, 其中有一个空位(0), 每次操作可以将一个与空位临接的数与空位交换, 问最少需要多少次达到目标123804765(实际上是12345678顺序围了一圈中间放0~)(像不像21世纪10年代手机里的拼图小游戏?) solution: 先手打一个临接表存储可能的状态转移 阅读全文
posted @ 2021-03-03 08:27 _dwt 阅读(51) 评论(0) 推荐(0)