登录
首页 » 算法 » 这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当

这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当

于 2023-06-06 发布 文件大小:68.19 kB
0 156
下载积分: 2 下载次数: 1

代码说明:

这个程序是一个Win32程序,计算Fibonacci斐波纳契数列(一种整数数列, 其中每数等于前面两数之和)。其定义是f(1) = 1,f(2) = 2,并且当n>2时, f(n) = f(n-1) + f(n-2)。源代码种给出了三种计算方法。第一种方法用递归,第二种方法用大数组,第三种方法用小数组。此外,这个程序还具备多线程特性,所以在运算时可以做其它操作。代码用到了以前创建的Win32类。测试为发现bug和内存溢出。--Calculate Fibonacci value.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 同时定位与构图
    导航,机器人领域的同时定位与构图(slam)算法。kalman滤波,粒子滤波各两个程序,亲自验证,换过多个matlab版本,一直都好用。
    2022-03-20 07:32:54下载
    积分:1
  • 飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量...
    计算飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量-Calculation of the spacecraft relative position vector of the station unit vector in the equatorial coordinate system of the three subscales
    2023-03-12 12:35:03下载
    积分:1
  • bubble,insertion, selection排序
    bubble,insertion, selection排序-bubble sort,insertion sort, selection sort
    2022-03-24 09:06:41下载
    积分:1
  • Message-Digest Algorithm 5
    MD5即Message-Digest Algorithm 5(信息-摘要算法5),用于确保信息传输完整一致。是计算机广泛使用的杂凑算法之一(又译摘要算法、哈希算法),主流编程语言普遍已有MD5实现。 将数据(如
    2022-12-22 17:25:03下载
    积分:1
  • 51单片机循迹小车
    应用背景基于51 单片机的简单循迹小车,仅个人娱乐所用,采用6个传感器可实现90度直角转弯,还能转小于90度的,也有原地掉头功能(前方无路时),刚入门,程序好不好,望勿喷。关键技术大家都知道51程序很简单,方法也各式各样,我刚步入大学的一个小程序,个人认为还有很多不周到的地方,但是我亲测有用,基本功能实现没有问题,但传感器位置很重要。个人采用的是“八”字形排布。
    2022-05-30 10:48:08下载
    积分:1
  • This algorithm was developed by Professor Ronald L. Rivest of MIT and can be fou
    This algorithm was developed by Professor Ronald L. Rivest of MIT and can be found presented in several languages. What I provide to you here is a C++ derivative of the original C implementation of Professor Rivets. The library code itself is platform-independant and has been tested in Redhat Linux. I ve included the sample code and makefile that I used for the Linux test. The demo, however, was written with Visual C++ 6 on a Windows 2000 platform.-This algorithm was developed by Professor Ronald L. Rivest of MIT and can be found presented in several languages. What I provide to you here is a C derivative of the original C implementation of Professor Rivets. The library code itself is platform-independant and has been tested in Redhat Linux. I ve included the sample code and makefile that I used for the Linux test. The demo, however, was written with Visual C 6 on a Windows 2,000 platform.
    2022-01-27 12:21:27下载
    积分:1
  • Fourier Transforms WAPAPI FFT function, display waveforms and sound very good
    FFT傅立叶转换 WAPAPI 函数, 显示波形和声音, 非常不错的-Fourier Transforms WAPAPI FFT function, display waveforms and sound very good
    2022-03-10 04:14:01下载
    积分:1
  • With c++ Prepared Romberg integration process with examples and calculation resu...
    用c++编写的龙贝格积分的程序 附有实例和计算结果-With c++ Prepared Romberg integration process with examples and calculation results
    2022-02-07 07:17:57下载
    积分:1
  • 实现一个投票功能
    输入投票的人名,实现记票功能,最后调试代码,功能均已实现。可以实现每个候选人的投票数,以及无效票数
    2022-01-26 01:14:28下载
    积分:1
  • 一个关于BCH的例程,希望对大家有所帮助。
    一个关于BCH算法的例程,希望对大家有所帮助。-On BCH algorithm routines, and they hope to be helpful to everyone.
    2022-07-19 22:54:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载