文件名称:Zhdj
介绍说明--下载内容均来自于网络,请自行研究使用
独轮车的轮子上有5种颜色,每走一格颜色变化一次,独轮车只能往前推,也可以在原地旋转,每走一格,需要一个单位的时间,每转90度需要一个单位的时间,转180度需要两个单位的时间。现给定一个20×20的迷宫、一个起点、一个终点和到达终点的颜色,问独轮车最少需要多少时间到达。-Wheelbarrow wheels have five kinds of colors, each one taking a cell color change, wheelbarrow can only push forward, you can rotate in place, each taking a cell, requires a unit of time, turn 90 degrees each time a unit needs , turn 180 degrees requires two units of time. Are given a 20 × 20 maze, a starting point, an end point and finish color, and asked how much time to reach at least wheelbarrow.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
独轮车.cpp