搜索资源列表
longest_sequence
- 算法分析与设计的最长子序列问题,输入一定数列,系统会自动输出该序列的最长子序列长度-Algorithm analysis and design of the longest sequence problem, the importation of certain series, the system will automatically output the sequence of the longest sequence length
permutation
- C/C++程序,入门级。 获得数列或者字母序列全排列的方法。 练手的小程序。-C/C++ Procedures, entry-level. Access series or sequence of letters with the whole approach. Practicing hand applet.
shiyan1
- 编程序,使用如下所谓的简单变量“数据平移”方法来求出Fibonacci数列的第n项(的具体项值)并显示在屏幕上(正整数n通过键盘输入):说明变量old1=1,old2=1,newItem;新的Fibonacci项newItem总是“距它最近”的前两项(old1与old2)的累加和。而后通过“old1=old2 old2=newItem ”进行所谓的“数据平移”。接着计算另一个新的Fibonacci项newItem,依次循环,直到求出数列的第n项时为止。 Fibonacci数列的计算公式如下:
1
- 汇编的斐波那契数列,本人上机作业-Compiled by the Fibonacci sequence, I am on the machine operation
A10
- 输入一个正整数n,输出自然数数列前n项和-Enter a positive integer n, output of natural number n series before and
beibao
- 0-1背包问题:输入两个整数n和m,从数列1,2,3....n中随意取几个数,使得其和等于m,求所有组合-0-1 knapsack problem: Enter the two integers n and m, from a series of 1,2,3 .... n grab a few numbers and make it equal to m, for all combinations
Fibonacci
- 斐波那契数列,包含头文件、算法实现文件及主函数文件。 -Fibonacci sequence, including the header files, the algorithm to achieve the main function of documents and files.
sy1
- 使用如下所谓的简单变量“数据平移”方法来求出Fibonacci数列的第n项(的具体项值)并显示在屏幕上(正整数n通过键盘输入):说明变量old1=1,old2=1,newItem;新的Fibonacci项newItem总是“距它最近”的前两项(old1与old2)的累加和。而后通过“old1=old2 old2=newItem ”进行所谓的“数据平移”。接着计算另一个新的Fibonacci项newItem,依次循环,直到求出数列的第n项时为止。-Use the following so-call
cyuyanfanli
- 编制一个insert函数,该函数的功能是在一个有序的数列函数中插入一个数后仍有序。 要求:(1)主函数实现由键盘输入一个有序数列和要插入的数. (2)insert函数设有两个虚参,指针变量和数值型变量,分别接受数列首地址和要插入的数,insert函数实现数据插入. (3)在主函数中输出输入后的结果-The preparation of an insert function, which function is in an orderly series function to inse
data1
- 1.输入数列,以0为结束标志,生成“先进先出”单链表,输出表中各结点的值;再求表中结点的平均值、最大值、最小值。-1. Input series to 0 for the end of signs, to generate " FIFO" single linked list, the output table, the value of each node another node for the table of average, maximum, minimum.
mutualinformation
- 我们可以运用这个程序来计算信息论中的一个算法度量,度量数列互信息的大小-we can use it to calculate the multi-information
RandMedian
- 利用随机算法计算一个数列中的中位数。返回结果一定正确。-Algorithm using a random series of the median. Return results necessarily correct.
RandQuickSort
- 随机快排,利用随机算法,搜索一个数列中的特定元素。期望时间复杂度要比快排小。-Algorithm using random search of a series of specific elements. Expect the time complexity faster than the small platoon.
Fibonaccisequence
- 个函数的功能是构建一个 n 项的菲波那契数列-A function of its functions is to build a n of the Fibonacci series
GM(11)
- 灰色模型GM(1,1)原始数列经过光滑优化-Gray model GM (1,1) with smooth Optimized original series
program
- 程序设计方法与实践——2007 一些小程序:Automated Judge scr ipt Fibonacci数列问题 Football (aka Soccer) Really Strange!! Red and Black-Program Design Method and Practice- 2007 a number of small procedures: Automated Judge scr ipt Fibonacci series problem Footbal
Compress
- 程序:将重复的子数列折叠起来。就是连续重复数据的压缩,编码原理的程序。如:12 23 34 45 34 45 34 45 88 78 79 88 78 79 99压缩成为12 23 0xFE 3 34 45 0xFD 0xFE 2 88 78 79 0xFD 99。其中0xFE表示重复数列的开始,紧跟后面的数3是重复次数,后面的0xFD表示结束。-Procedures: a subset of the duplicate series folded. Duplicate data is a ro
stackfibnaqi
- 斐波那契数列计算的非递归算法 用栈来模拟递归的经典题目-Fibonacci calculation of non-recursive algorithm used to simulate the recursion stack classic topic
Fibonacci
- Symbian系统开发的非波拉次数列,自动计算次数列-Symbian operation system development out of the number of non-pola
projectionsGray
- 灰色预测模型称为CM模型,G为grey的第一个字母,M为model的第一个字母。GM(1,1)表示一阶的,一个变量的微分方程型预测模型。GM(1,1)是一阶单序列的线性动态模型,主要用于时间序列预测。 一、GM(1,1)建模 设有数列 共有 个观察值 对 作累加生成,得到新的数列 灰色理论与模型及在车辆拥有量预测中的应用 灰色神经网络交通事故预测比较 灰色系统(第三版)-projections Gray (No. Third Edition)