搜索资源列表
fibonacci系列打印
- 该程序是一个有关fibonacci数列的打印问题 其中的一个功能是能修改生长周期 虽然很简单但不是每个人都会做的哟-that the procedure was a Fibonacci series, the printing problem which is a function of the growth cycle would amend Although very simple but not everyone will do yo
scan
- 本实例展示了并行前缀求和(也称作“scan”)的一种高效的 CUDA 实施途径。针对一个给定的数列,scan 可以计算出一个新的数列,其中每一个元素均为在输入列中该元素前面的所有元素的总和。 -This example shows the parallel prefix sum (also known as " scan" ) of an efficient CUDA implementation of the approach. For a given series, scan
Fibonacci
- 初学VC 几个小程序 求Fibonacci数列的前20项之和-Several small programs seeking beginner VC Fibonacci series and the first 20 of the
Fibon
- Fibon 数列,利用VC控制台编程。使用VECTOR来处理-Fibon series programming using VC console. Using VECTOR to deal with
Array-of-gold-coins-problem
- //金币阵列问题 /*算法思想:将原始数列作为参考数列(m*n),将目标数列的第一列与本身的-n列分别进行对调 在每次对调后进行一下处理:比较对调后的第一列与原始数列的第一列,从而知道对应的行是否要 进行变换。行变换确定后,然后确定列变换,通过列遍历性的交换,将目标数列转换到原始数列*/ -//Gold array problem /* Algorithm thinking: the original series as the reference sequence (m*
fibonacci-recursion
- 斐波那契数列的递归算法实现的源代码,计算机算法设计与分析作业1-Fibonacci series recursive algorithm source code, design and analysis of computer algorithms operating 1
Fibonacci
- 对于斐波那契数列进行运算的一个控制台应用程序,完美解决了斐波那契数列运算的结果。输入任意数字即显示对应运算结果-For Fibonacci column a console application operations, the perfect solution Fibonacci result that the number of columns lease operations. Enter any number corresponding to the calculation result
huiweixunlie
- 判断是否为回文数列和回文数的代码,简单高效。-Determine whether the number of columns and palindrome palindrome code, simple and efficient.
lab02
- f(n)=f(n-1)+f(n-2) f(0)=f(1)=1,求斐波那契数列第20项,分别用循环和递归的方式,比较时间效率。提示:可以使用c函数clock取出当前系统时间,计算前后各一次,两次相减除以每秒的时钟数,就可以得到以秒为单位的差距-f (n) = f (n-1)+ f (n-2) f (0) = f (1) = 1, Item 20 seeking Fibonacci number Fibonacci sequence that were circulating and recursi