登录
首页 » Visual Basic » how_many_fibs

how_many_fibs

于 2009-11-27 发布 文件大小:14KB
0 222
下载积分: 1 下载次数: 4

代码说明:

  Recall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range [a,b]. (Recall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1+ fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range [a,b]. )

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

发表评论

0 个回复

  • 016
    Visual C++MFC编程实例016(C++MFC016)
    2010-08-27 18:04:34下载
    积分:1
  • canshu
    fluent关于水和水蒸气的物性参数的udf,包括蒸汽的密度,水和水蒸汽的比容,导热系数和热传导系数(fluent-about the Physical parameters of the water and vapor)
    2020-09-15 15:58:01下载
    积分:1
  • Cal
    说明:  一个简单的计算器,可以实现加、减、乘、除、平方、开方的计算。(A simple calculator can be achieved add, subtract, multiply, divide, square, square root calculations.)
    2010-04-07 16:52:14下载
    积分:1
  • Open
    说明:  Wincc使用MSComm控件串口通讯,VB中发送十六进制数据(Wincc uses MSComm control to communicate through serial port and sends hexadecimal data in VB)
    2020-06-16 22:40:01下载
    积分:1
  • all
    万能字典可以查询所有的公式你有就知道什么东东啦(Universal Dictionary of the formula can search all you have to know what you Dongdong)
    2009-03-18 13:28:04下载
    积分:1
  • AdressBook
    本程序实现了一个简单通讯录,用到了mfc的listbox,listctrl等控件,连接了access数据库。(This program implements a simple address book, use the mfc of the listbox, listctrl and other controls, connected to the access database.)
    2020-10-28 08:59:58下载
    积分:1
  • eight_office
    VC++2005编程实例源代码\第8章 Office自动化编程实例,包括14个实例:如何使用VC++动态创建播放幻灯片,如何直接播放幻灯片文件如何使用自动化运行Word宏,如何使用自动化导出Word文件, 如何使用自动化导出Excel文件、Excel图表、Excel工具栏、Excel查询表(VC++ 2005 source code programming examples in Chapter 8 Office automation programming examples, including the 14 examples: how to use VC++ Dynamic slide show created, how to direct the slideshow document how to use automation to run Word macro, how the use of automation to export Word documents, how to use automation to export Excel documents, Excel charts, Excel toolbar, Excel query table)
    2008-12-22 14:01:19下载
    积分:1
  • windows
    说明:  WINDOWS核心编程中文版 最经典的 呵呵 分享一下(WINDOWS core programming and classic Chinese version呵呵share)
    2008-09-28 23:51:15下载
    积分:1
  • ch02
    VB2008示例包含原代码,适合适合初学者用(Code sample contains the original code)
    2013-10-15 18:08:12下载
    积分:1
  • EULER1
    说明:  Euler 回路问题 .问题描述: 对于给定的图G 和G 中的2 个顶点v 和w,连接顶点v 和w 且经过图中每条边恰好1 次 的路径称为顶点v 和w 之间的1 条Euler 路。当v=w 时得到一条首尾相接的Euler 回路。 .编程任务: 对于给定的图G,编程计算图G 的一条Euler 回路。 .数据输入: 由文件input.txt 给出输入数据。第1 行有2 个正整数n 和m,表示给定的图G 有n 个 顶点和m 条边,顶点编号为1,2,…,n。接下来的m 行中,每行有2 个正整数u,v ,表示 图G 的一条边(u,v) 。 .结果输出: 将编程计算出的Euler 回路输出到文件output.txt 。如果不存在Euler 回路,则输出-1。(Euler circuit problem. Problem description : for a given graph G and G of two vertices v, w, connectivity and vertex v w map through which each side precisely the path to a meeting called vertices v, w between a Euler Road. When v = w be an end-to-end circuit Euler. . Programming tasks : for a given graph G, programming terms of a graph G Euler circuit. . Data input : from the document input.txt given input data. Line 1 has two positive integers n and m, to the graph G with n vertices and m edges and vertices numbered 1, 2, ..., n. Next m OK, every trip has two positive integer u, v, said of a graph G edge (u, v). . Results output : Programming will be calculated by Euler circuit output to a file output.txt. If there is no Euler circuit, the output 1.)
    2006-03-29 21:31:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载