递归方法实现HANOI塔问题 子程序模块个数不限。要求: 盘子个数可以输入,第一个塔为A,第二个塔为B,第三个塔的名称为C。打印出移动过程。
上传时间: 2013-12-22
上传用户:小鹏
Ch03 Ex16 [Ch03 Ex16] 假设如题3.1所述火车调度站的入口处有n节硬席或软席车厢(分别以H和S表示) 等待调度,试编写算法,输出对这n节车厢进行调度的操作(即入栈或出栈操作)序列,以使用 所有的软席车厢都被调整到硬席车厢之前。 串。
上传时间: 2016-06-20
上传用户:fredguo
这是地面数字电视国标的三种H矩阵生成程序,只要把标准附录B里的数据根据MATLAB的格式要求输入,就可以根据这些程序生成完整的H矩阵,稍后还有生成好了的H矩阵
上传时间: 2014-01-20
上传用户:wangchong
B+树算法,没有密码,供学习使用.质量高
上传时间: 2014-09-10
上传用户:远远ssad
如果四位数各位上的数字均是0或2或4或6或8, 则统计出满足此条件的个数cnt, 并把这些四位数按从大到小的顺序存入数组b中
上传时间: 2016-06-23
上传用户:gtf1207
费诺编码的步骤: A 将概率按从大到小的顺序排列 B 按编码进制数将概率分组,使每组概率和尽可能接近或相等。 C 给每组分配一位码元 D 将每一分组再按同样原则划分,重复b和c,直到概率不再可分为止
上传时间: 2016-06-24
上传用户:xinyuzhiqiwuwu
HDB3码的VHDL实现 共三个模块:插入V、插入B以及单双极性变换
上传时间: 2013-11-29
上传用户:天涯
Description Calculate a+b Input Two integer a,b (0<=a,b<=101000) Output Output a + b Sample Input 5 7 Sample Output 12
标签: Description Calculate integer 101000
上传时间: 2014-01-25
上传用户:tonyshao
设计一FIR低通滤波器 0=<|w|<=0.25Pi,输入n代表FIR滤波器的长度,输出H(ejw)幅度值,N代表输出数,Hbs[N]存放H(ejw)的幅度值,h[n]存放H[z]的系数,算法采用Hamming窗函数
上传时间: 2016-06-28
上传用户:a6697238
fft源代码,#include "f2407_c.h" #include "math.h" #define N 32 // FFT变换的点数 extern void fft(void); extern void resave(void); interrupt void phantom(void); void sysinit(void); extern int input[2*N];
上传时间: 2016-06-28
上传用户:LouieWu