The Rotation Game

题目链接

题意:有八种操作棋盘进行移动,使得中间8个数字一样,问·最短移动步数及如何移动。

思路:dfs,因为当中间八个数字中有m个数字不同时,至少需要m次操作,将这个m作为估值。

posted @ 2019-08-03 21:00  Ldler  Views(177)  Comments(0Edit  收藏  举报