本人初学c语言程序不是很拿手,n!的求法。。希望大家指教
上传时间: 2015-08-13
上传用户:athjac
n皇后问题,rar格式,运行环境c++,n〉=1
标签:
上传时间: 2015-08-16
上传用户:helmos
R+树的c实现源码,对应文章T. K. Sellis, N. Roussopoulos, C. Faloutsos: The R+-Tree: A Dynamic Index for Multi-Dimensional Objects.
上传时间: 2014-05-25
上传用户:sunjet
This section contains a brief introduction to the C language. It is intended as a tutorial on the language, and aims at getting a reader new to C started as quickly as possible. It is certainly not intended as a substitute for any of the numerous textbooks on C. 2. write a recursive function FIB (n) to find out the nth element in theFibanocci sequence number which is 1,1,2,3,5,8,13,21,34,55,…3. write the prefix and postfix form of the following infix expressiona + b – c / d + e * f – g * h / i ^ j4. write a function to count the number of nodes in a binary tr
标签: introduction the contains intended
上传时间: 2013-12-23
上传用户:liansi
C语言 打印“魔方阵”,所谓魔方阵是指这样的方阵 ,它的每一行,每一列和对角线之间和均相等。例如,三阶魔方阵为 8 1 6 3 5 7 4 9 2 要求打印出1~n的平方数的自然数的魔方阵。
上传时间: 2015-08-26
上传用户:er1219
C# BigInteger class. BigInteger.cs is a csharp program. It is the BIgInteger class. It has methods: abs() , FermatLittleTest(int confidence) ,gcd(BigInteger bi) , genCoPrime(int bits, Random rand) , genPseudoPrime(int bits, int confidence, Random rand) , genRandomBits(int bits, Random rand) , isProbablePrime(int confidence) , isProbablePrime() , Jacobi(BigInteger a, BigInteger b) , LucasSequence(BigInteger P, BigInteger Q, BigInteger k, BigInteger n) ,max(BigInteger bi) , min(BigInteger bi) , modInverse(BigInteger modulus) , RabinMillerTest(int confidence) ,
标签: BigInteger class BIgInteger program
上传时间: 2013-12-23
上传用户:ynzfm
牛顿法解多项式的根 输入:多项式系数c[],多项式度数n,求在[a,b]间的根 输出:根 要求保证[a,b]间有根
上传时间: 2013-12-21
上传用户:秦莞尔w
E:\VISUAL C++MFC扩展编程实例 实例35 添加帮助菜单项,在本例中将向应用程序中的H e l p菜单中添加C o n t e n t s和S e a r c h 菜单项。
上传时间: 2014-01-09
上传用户:541657925
经典C语言程序设计100例1-10 如【程序1】 题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去 掉不满足条件的排列。 2.程序源代码: main() { int i,j,k printf("\n") for(i=1 i<5 i++) /*以下为三重循环*/ for(j=1 j<5 j++) for (k=1 k<5 k++) { if (i!=k&&i!=j&&j!=k) /*确保i、j、k三位互不相同*/ printf("%d,%d,%d\n",i,j,k) } }
上传时间: 2013-12-14
上传用户:hfmm633
这是一个我自己写的FFT的c程序,可以计算n(<4096)个点(可以是虚数)的结果
上传时间: 2015-10-23
上传用户:cc1015285075