文件名称:trans
介绍说明--下载内容来自于网络,使用问题请自行百度
给定两个 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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
