文件名称:trans
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
给定两个 4×4 方格矩阵组成的图形 A 和 B ,每个方格的颜色为黑色或白色。图形 A 和图形 B 的黑白方块总数相等。
通过交换相邻方格的颜色。试设计一个算法,计算最少需要多少步变换,才能将图形 A 变换为图形 B -Given two matrices 4 × 4 grid graph A and B, the color of each box is black or white. A graphic black and white box and graphics B equal to the total. Through the exchange of the color of the adjacent square. Try to design an algorithm to calculate how many steps need to transform at least, to transform the graphic A graphic B
通过交换相邻方格的颜色。试设计一个算法,计算最少需要多少步变换,才能将图形 A 变换为图形 B -Given two matrices 4 × 4 grid graph A and B, the color of each box is black or white. A graphic black and white box and graphics B equal to the total. Through the exchange of the color of the adjacent square. Try to design an algorithm to calculate how many steps need to transform at least, to transform the graphic A graphic B
(系统自动生成,下载前可以参看下载内容)
下载文件列表
trans.cpp