文件名称:Array-of-gold-coins-problem
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- 任**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
//金币阵列问题
/*算法思想:将原始数列作为参考数列(m*n),将目标数列的第一列与本身的-n列分别进行对调
在每次对调后进行一下处理:比较对调后的第一列与原始数列的第一列,从而知道对应的行是否要
进行变换。行变换确定后,然后确定列变换,通过列遍历性的交换,将目标数列转换到原始数列*/
-//Gold array problem
/* Algorithm thinking: the original series as the reference sequence (m* n), the first column of the target sequence itself-n columns swapped
After each swap: relatively reversed after the first column the first column of the original series, so you know the row corresponding to whether or not to
Be transformed. Line transformation is determined, then determine the column transform exchange column ergodicity, the number of targets are converted to the original number of columns* /
/*算法思想:将原始数列作为参考数列(m*n),将目标数列的第一列与本身的-n列分别进行对调
在每次对调后进行一下处理:比较对调后的第一列与原始数列的第一列,从而知道对应的行是否要
进行变换。行变换确定后,然后确定列变换,通过列遍历性的交换,将目标数列转换到原始数列*/
-//Gold array problem
/* Algorithm thinking: the original series as the reference sequence (m* n), the first column of the target sequence itself-n columns swapped
After each swap: relatively reversed after the first column the first column of the original series, so you know the row corresponding to whether or not to
Be transformed. Line transformation is determined, then determine the column transform exchange column ergodicity, the number of targets are converted to the original number of columns* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Array of gold coins problem.doc