n皇后問題,rar格式,運行環(huán)境c++,n〉=1
標(biāo)簽:
上傳時間: 2015-08-16
上傳用戶:helmos
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
標(biāo)簽: introduction the contains intended
上傳時間: 2013-12-23
上傳用戶:liansi
C語言 打印“魔方陣”,所謂魔方陣是指這樣的方陣 ,它的每一行,每一列和對角線之間和均相等。例如,三階魔方陣為 8 1 6 3 5 7 4 9 2 要求打印出1~n的平方數(shù)的自然數(shù)的魔方陣。
上傳時間: 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) ,
標(biāo)簽: BigInteger class BIgInteger program
上傳時間: 2013-12-23
上傳用戶:ynzfm
牛頓法解多項式的根 輸入:多項式系數(shù)c[],多項式度數(shù)n,求在[a,b]間的根 輸出:根 要求保證[a,b]間有根
上傳時間: 2013-12-21
上傳用戶:秦莞爾w
E:\VISUAL C++MFC擴(kuò)展編程實例 實例35 添加幫助菜單項,在本例中將向應(yīng)用程序中的H e l p菜單中添加C o n t e n t s和S e a r c h 菜單項。
標(biāo)簽: VISUAL MFC 擴(kuò)展 編程實例
上傳時間: 2014-01-09
上傳用戶:541657925
經(jīng)典C語言程序設(shè)計100例1-10 如【程序1】 題目:有1、2、3、4個數(shù)字,能組成多少個互不相同且無重復(fù)數(shù)字的三位數(shù)?都是多少? 1.程序分析:可填在百位、十位、個位的數(shù)字都是1、2、3、4。組成所有的排列后再去 掉不滿足條件的排列。 2.程序源代碼: main() { int i,j,k printf("\n") for(i=1 i<5 i++) /*以下為三重循環(huán)*/ 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) } }
標(biāo)簽: 100 10 C語言 程序設(shè)計
上傳時間: 2013-12-14
上傳用戶:hfmm633
這是一個我自己寫的FFT的c程序,可以計算n(<4096)個點(可以是虛數(shù))的結(jié)果
上傳時間: 2015-10-23
上傳用戶:cc1015285075
學(xué)生成績管理 假設(shè)有一個班級的學(xué)生n人,期末考試?yán)蠋熞獙Τ煽儚母叩降土谐觯Ω骺频目荚嚦煽兦蟪銎渥罡叻帧⒆畹头趾推骄煽儭,F(xiàn)在設(shè)計一個成績管理程序,能夠?qū)崿F(xiàn)以下的功能: (1)對某門科目的成績進(jìn)行排序并顯示輸出; (2)求出每門科目的最高分、最低分和平均分的信息; 學(xué)生成績的數(shù)據(jù)用結(jié)構(gòu)數(shù)組表示,包括:學(xué)號、姓名、三門科目的考試成績,其結(jié)構(gòu)格式如下: 學(xué)號 姓名 語文 數(shù)學(xué) 外語 C++ int num char name[10] int score[4]
標(biāo)簽:
上傳時間: 2015-10-24
上傳用戶:Thuan
代入法的啟發(fā)示搜索 我的代碼實現(xiàn)是:按照自然語言各字母出現(xiàn)頻率的大小從高到低(已經(jīng)有人作國統(tǒng)計分析了)先生成一張字母出現(xiàn)頻率統(tǒng)計表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對密文字母計算頻率,并按頻率從高到低生成一張輸入密文字母的統(tǒng)計表(B),通過兩張表的對應(yīng)關(guān)系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關(guān)鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1