文件名称:Recursive
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.67mb
- 下载次数:
- 0次
- 提 供 者:
- 刘**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
格雷码问题
1.问题描述
对于给定的正整数n,格雷码为满足如下条件的一个编码序列:
(1) 序列由2n个编码组成,每个编码都是长度为n的二进制位串。
(2) 序列中无相同的编码。
(3) 序列中位置相邻的两个编码恰有一位不同。
例如:n=2时的格雷码为:{00, 01, 11, 10}。
设计求格雷码的递归算法并实现。
-Gray-code problem 1. Problem descr iption for a given positive integer n, Gray code to meet the following conditions of a coding sequence: (1) coding sequence by the 2n months, each code is a length of n-bit binary string. (2) without the same sequence number. (3) the location of sequences adjacent to exactly two has a different encoding. For example: n = 2 when the Gray code is: (00, 01, 11, 10). Designed for Gray code and implementation of the recursive algorithm.
1.问题描述
对于给定的正整数n,格雷码为满足如下条件的一个编码序列:
(1) 序列由2n个编码组成,每个编码都是长度为n的二进制位串。
(2) 序列中无相同的编码。
(3) 序列中位置相邻的两个编码恰有一位不同。
例如:n=2时的格雷码为:{00, 01, 11, 10}。
设计求格雷码的递归算法并实现。
-Gray-code problem 1. Problem descr iption for a given positive integer n, Gray code to meet the following conditions of a coding sequence: (1) coding sequence by the 2n months, each code is a length of n-bit binary string. (2) without the same sequence number. (3) the location of sequences adjacent to exactly two has a different encoding. For example: n = 2 when the Gray code is: (00, 01, 11, 10). Designed for Gray code and implementation of the recursive algorithm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验二 递归算法设计与应用
.........................\001.cpp
.........................\002.cpp
.........................\002.dsp
.........................\002.dsw
.........................\002.ncb
.........................\002.opt
.........................\002.plg
.........................\003.cpp
.........................\003.dsp
.........................\003.dsw
.........................\003.ncb
.........................\003.opt
.........................\003.plg
.........................\004.asp
.........................\Debug
.........................\.....\001.obj
.........................\.....\002.obj
.........................\.....\002.pch
.........................\.....\002.pdb
.........................\.....\003.exe
.........................\.....\003.ilk
.........................\.....\003.obj
.........................\.....\003.pch
.........................\.....\003.pdb
.........................\.....\004.obj
.........................\.....\004.pch
.........................\.....\004.pdb
.........................\.....\quanpai.exe
.........................\.....\quanpai.ilk
.........................\.....\quanpai.obj
.........................\.....\quanpai.pch
.........................\.....\quanpai.pdb
.........................\.....\vc60.idb
.........................\.....\vc60.pdb
.........................\in.txt
.........................\main.cpp
.........................\quanpai.cpp
.........................\quanpai.dsp
.........................\quanpai.dsw
.........................\quanpai.ncb
.........................\quanpai.opt
.........................\quanpai.plg
.........................\实验二 递归算法设计与应用.doc
.........................\实验二.dsp
.........................\实验二.dsw
.........................\001.cpp
.........................\002.cpp
.........................\002.dsp
.........................\002.dsw
.........................\002.ncb
.........................\002.opt
.........................\002.plg
.........................\003.cpp
.........................\003.dsp
.........................\003.dsw
.........................\003.ncb
.........................\003.opt
.........................\003.plg
.........................\004.asp
.........................\Debug
.........................\.....\001.obj
.........................\.....\002.obj
.........................\.....\002.pch
.........................\.....\002.pdb
.........................\.....\003.exe
.........................\.....\003.ilk
.........................\.....\003.obj
.........................\.....\003.pch
.........................\.....\003.pdb
.........................\.....\004.obj
.........................\.....\004.pch
.........................\.....\004.pdb
.........................\.....\quanpai.exe
.........................\.....\quanpai.ilk
.........................\.....\quanpai.obj
.........................\.....\quanpai.pch
.........................\.....\quanpai.pdb
.........................\.....\vc60.idb
.........................\.....\vc60.pdb
.........................\in.txt
.........................\main.cpp
.........................\quanpai.cpp
.........................\quanpai.dsp
.........................\quanpai.dsw
.........................\quanpai.ncb
.........................\quanpai.opt
.........................\quanpai.plg
.........................\实验二 递归算法设计与应用.doc
.........................\实验二.dsp
.........................\实验二.dsw