登录
首页 » c++ » 迭代算法求斐波那契数

迭代算法求斐波那契数

于 2022-05-12 发布 文件大小:3.37 kB
0 132
下载积分: 2 下载次数: 1

代码说明:

求第n个斐波那契数列,通过此次关于分治法求解矩阵相乘的实验,我学习到了可以先通过解决小规模的问题,再递归的解决各个问题,最后通过整合比较得到最终结果,在时间复杂度上比我们传统的蛮力法要更加有效率一些。

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

发表评论

0 个回复

  • renshi
    VC++编写的人事管理系统,包括数据库的操作与配置,供大家参考(VC++ written in the personnel management system, including the operation and configuration database for your reference)
    2011-07-10 16:55:43下载
    积分:1
  • Voronoi或Delaunay三角剖分的程序
    本资源给出了voronoi图和Delaunay三角剖分的算法,编译生成运行后,运行命令voronoi [-s -t] outputfile若参数-t输入后,将会计算Delaunay三角剖分结果,pointfile 是输入的平面上的点集文件 outputfile则是voronoi或者Delaunay剖分的结果 参考的算法文章为Steve J. Fortune (1987) A Sweepline Algorithm for Voronoi Diagrams, Algorithmica 2, 153-174
    2023-08-18 22:30:04下载
    积分:1
  • fmeasure
    MATLAB FocusMeasure to C++ Convert alg
    2015-04-02 14:48:40下载
    积分:1
  • PD4
    说明:  12864液晶显示,采串并形都有 for msp430 x芯片驱动代码 画图都有十分方便使用 。 12864LCD属于点阵图形液晶显示模块,不但能显示字符,还能显示汉字和图形,分带汉字库和不带那字库两种,价格也有差别。(12864 LCD belongs to dot matrix graphics LCD display module. It can display not only characters, but also Chinese characters and graphics. There are two kinds of Chinese character library and non-Chinese character library, and the price is also different. The 12864LCD with Chinese character library is very convenient to use. It does not need to write complex Chinese character display program. As long as two bytes of Chinese character machine code are written in time sequence, Chinese characters can be displayed. The driver is much simpler.)
    2020-06-20 08:20:02下载
    积分:1
  • Socket_服务端向指定的客户端发送消息_包含服务器
    Socket_服务端向指定的客户端发送消息_包含服务器,对Socket的知识有个基本的了解,代码简单易懂,可应用于实战,Socket_服务端向指定的客户端发送消息_包含服务器,对Socket的知识有个基本的了解,代码简单易懂,可应用于实战。
    2022-04-01 09:18:17下载
    积分:1
  • datatrans
    智能交通系统(ITS)数据传输服务器源代码(Intelligent Transportation System data transmission server)
    2013-01-12 21:26:45下载
    积分:1
  • opcasync.net
    opcasync OPC Client 客户端开发完整源代码,经多次验证,完全可行(opcasync OPC Client client development complete source code, after repeated verification, entirely feasible.)
    2013-12-13 21:27:40下载
    积分:1
  • C# 文本编辑器 例子(richTextBox富文本)
    可以打开文本,并且不会出现乱码
    2015-04-20下载
    积分:1
  • C8051F020LCD
    基于C8051F020单片机的液晶驱动程序,通过编译、链接,调试没有错误,压缩包里有C程序号头文件以及源程序的汇编版本。(C8051F020-based single-chip LCD driver, through the compile, link, debug, no errors, compression bag has C header files, as well as procedures for its source code version of the compilation.)
    2009-02-11 04:23:42下载
    积分:1
  • STM32控制24位ADC实现模数转换功能AD7173 +OLED
    STM32控制24位ADC实现模数转换功能,并利用OLED显示。(STM32 controls the 24 bit ADC to realize the analog-to-digital conversion function and displays it by OLED.)
    2020-07-07 12:08:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载