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

迭代算法求斐波那契数

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

代码说明:

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

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

发表评论

0 个回复

  • LinkQueue
    2.4 线性表的应用举例 线性表的链式存储结构 线性表的顺序存储结构是指用一组连续的存储单元依次存储线性表中的每个数据元素。 (2.4 Application examples linear table storage structure linear form linear chain sequence table storage structure refers to a group of contiguous memory locations sequentially stores linear table for each data element.)
    2013-06-07 01:21:47下载
    积分:1
  • 实验30 18B20数字温度传感器实验
    说明:  利用keil软件开发了单片机测温功能, 单片机是stm32 传感器是ds18b20(The temperature measurement function of MCU is developed by keil software. The MCU is STM32 and the sensor is DS18B20)
    2021-02-17 16:41:05下载
    积分:1
  • 123456
    计算卡片过程密钥,加密密码数据,计算安全报文鉴别(MAC)过程密钥 (Calculating card key, the encrypted password data, calculate the safety message authentication (MAC) key)
    2013-08-14 13:15:47下载
    积分:1
  • 图片的zoom显示
    利用c#和pictureBox实现图片的ZOOM显示。
    2013-12-23下载
    积分:1
  • 点云可视化
    vs2015及pcl1.8.1点云可视化代码,实现简单的点云可视化,
    2022-01-28 19:04:56下载
    积分:1
  • ddvip_com_061744a03abed2
    前两天为公司改程序,其中有一部分是要打印出报表。原来的程序是调用VB写的一个程序。那个程序用VBA方式实现的,在一个空的WORD表格模板里填入数据,让WORD去打印,效果还可以,就是速度很慢。但是这次,上次写代码的人已经不在这里了,我并不想去学VBA,无奈之下找到了一个Rob.A Fraydl写的打印类示例,但是里面没有我要的功能,只是示范了怎么去打印。于是自己重新的封装了一下,基本算是合格了。(two days ago for the company to change procedures, which are in part to print out statements. The original procedure was called VB write a procedure. VBA procedure that was achieved in an empty template forms WORD Lane Enter data, Let Word to print, the results were, and that is very slow. However, this time, the last person to write the code has been going on here, I do not want to go to school VBA, In desperation to find a Rob.A Fraydl write Print category example, but there's no I want function, the model is how to print. His own re-packaging it, and basically considered a pass.)
    2007-04-07 10:57:15下载
    积分:1
  • STM32_FOC_PMSM
    说明:  实现同步电机的FOC控制,二电平控制技术,运用了ST公司内部的电机库。程序加上了详细的注释。(To achieve synchronous motor FOC control, two-level control technology, the use of ST's internal motor library. The program adds a detailed note.)
    2021-04-27 13:18:44下载
    积分:1
  • 1030AD拉线直播案例
    说明:  pcb设计过程中,如何最快的拉线,可以参考此文件(In the process of PCB design, you can refer to this document for the fastest cable pulling)
    2020-06-18 15:00:01下载
    积分:1
  • 算法第三章
    说明:  主要用伪码写的,算法第三章,可以参考一下,很好改成C++(Mainly written in pseudo code, algorithm 3 Chapter, you can refer to, very good to change to C++.)
    2019-04-06 00:32:05下载
    积分:1
  • bp_net_Train_sin
    matlab下的神经网络的bp 的sin函数(matlab neural network under the bp of the sin function)
    2010-03-11 10:07:40下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载