亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

監(jiān)(jiān)測(cè)報(bào)(bào)警

  • 約瑟夫問題的C語言程序

    約瑟夫問題的C語言程序,基本實(shí)現(xiàn)其功能,可以輸入N個(gè)人數(shù),進(jìn)行結(jié)果計(jì)算輸出

    標(biāo)簽: C語言程序

    上傳時(shí)間: 2013-12-24

    上傳用戶:cylnpy

  • 數(shù)據(jù)結(jié)構(gòu)(嚴(yán)慰敏)配套純c代碼實(shí)驗(yàn)十 typedef int InfoType // 定義其它數(shù)據(jù)項(xiàng)的類型 typedef int KeyType // 定義RedType類型的關(guān)鍵字為整型

    數(shù)據(jù)結(jié)構(gòu)(嚴(yán)慰敏)配套純c代碼實(shí)驗(yàn)十 typedef int InfoType // 定義其它數(shù)據(jù)項(xiàng)的類型 typedef int KeyType // 定義RedType類型的關(guān)鍵字為整型 struct RedType // 記錄類型(同c10-1.h) { KeyType key // 關(guān)鍵字項(xiàng) InfoType otherinfo // 其它數(shù)據(jù)項(xiàng) } typedef char KeysType // 定義關(guān)鍵字類型為字符型 #include"c1.h" #include"c10-3.h" void InitList(SLList &L,RedType D[],int n) { // 初始化靜態(tài)鏈表L(把數(shù)組D中的數(shù)據(jù)存于L中) char c[MAX_NUM_OF_KEY],c1[MAX_NUM_OF_KEY] int i,j,max=D[0].key //

    標(biāo)簽: typedef int InfoType KeyType

    上傳時(shí)間: 2016-03-03

    上傳用戶:2404

  • 數(shù)據(jù)結(jié)構(gòu) 1、算法思路: 哈夫曼樹算法:a)根據(jù)給定的n個(gè)權(quán)值{W1

    數(shù)據(jù)結(jié)構(gòu) 1、算法思路: 哈夫曼樹算法:a)根據(jù)給定的n個(gè)權(quán)值{W1,W2… ,Wn }構(gòu)成 n棵二叉樹的集合F={T1,T2…,T n },其中每棵二叉樹T中只有一個(gè)帶權(quán)為W i的根結(jié)點(diǎn),其左右子樹均空;b)在F中選取兩棵根結(jié)點(diǎn)的權(quán)值最小的樹作為左右子樹構(gòu)造一棵新的二叉樹,且置新的二叉樹的根結(jié)點(diǎn)的權(quán)值為其左、右子樹上結(jié)點(diǎn)的權(quán)值之和;c)F中刪除這兩棵樹,同時(shí)將新得到的二叉樹加入F中; d)重復(fù)b)和c),直到F只含一棵樹為止。

    標(biāo)簽: 算法 W1 數(shù)據(jù)結(jié)構(gòu)

    上傳時(shí)間: 2016-03-05

    上傳用戶:lacsx

  • 這是一個(gè)用C語言寫的禁忌搜索算法的解釋

    這是一個(gè)用C語言寫的禁忌搜索算法的解釋,解決了了一個(gè)n后問題,這是一個(gè)典型的介紹性的算法代碼。 很不錯(cuò)

    標(biāo)簽: C語言 禁忌 搜索算法

    上傳時(shí)間: 2014-01-02

    上傳用戶:shinesyh

  • 冒泡法是數(shù)據(jù)排序的一種基本算法,它的基本方法是:相鄰兩元素進(jìn)行比較,如有需要?jiǎng)t進(jìn)行交換, 每完成一次循環(huán)就將最小元素排在最后(如從大到小排序),下一次循環(huán)是將其他的數(shù)進(jìn)行類似操作? 如將N 個(gè)數(shù)按

    冒泡法是數(shù)據(jù)排序的一種基本算法,它的基本方法是:相鄰兩元素進(jìn)行比較,如有需要?jiǎng)t進(jìn)行交換, 每完成一次循環(huán)就將最小元素排在最后(如從大到小排序),下一次循環(huán)是將其他的數(shù)進(jìn)行類似操作? 如將N 個(gè)數(shù)按從大到小排序,Turbo C語言程序函數(shù)

    標(biāo)簽: 排序 元素 循環(huán) 數(shù)據(jù)

    上傳時(shí)間: 2016-03-20

    上傳用戶:趙云興

  • A* sudo sudo/* B* adduser script adduser C* rmuser script rmuser E* tout tout/*

    A* sudo sudo/* B* adduser script adduser C* rmuser script rmuser E* tout tout/* F* dumdum dumdum G* lostfile lostfile H* Mkfl.localsys Makefile.localsys I* spacegripe spacegripe J* sendmail.cf sendmail.cf N* remote remote.c O* distributed conrol distrib/* P* hosts and name server makerevhosts Q* xargs xargs/*

    標(biāo)簽: adduser script rmuser sudo

    上傳時(shí)間: 2016-03-29

    上傳用戶:gxrui1991

  • Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a bo

    Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.

    標(biāo)簽: introductory HelloWorld containing Directory

    上傳時(shí)間: 2016-03-29

    上傳用戶:exxxds

  • 編程題(15_01.c) 結(jié)構(gòu) struct student { long num char name[20] int score struct student *

    編程題(15_01.c) 結(jié)構(gòu) struct student { long num char name[20] int score struct student *next } 鏈表練習(xí): (1).編寫函數(shù)struct student * creat(int n),創(chuàng)建一個(gè)按學(xué)號(hào)升序排列的新鏈表,每個(gè)鏈表中的結(jié)點(diǎn)中 的學(xué)號(hào)、成績由鍵盤輸入,一共n個(gè)節(jié)點(diǎn)。 (2).編寫函數(shù)void print(struct student *head),輸出鏈表,格式每行一個(gè)結(jié)點(diǎn),包括學(xué)號(hào),姓名,分?jǐn)?shù)。 (3).編寫函數(shù)struct student * merge(struct student *a,struct student *b), 將已知的a,b兩個(gè)鏈表 按學(xué)號(hào)升序合并,若學(xué)號(hào)相同則保留成績高的結(jié)點(diǎn)。 (4).編寫函數(shù)struct student * del(struct student *a,struct student *b),從a鏈表中刪除b鏈表中有 相同學(xué)號(hào)的那些結(jié)點(diǎn)。 (5).編寫main函數(shù),調(diào)用函數(shù)creat建立2個(gè)鏈表a,b,用print輸出倆個(gè)鏈表;調(diào)用函數(shù)merge升序合并2個(gè) 鏈表,并輸出結(jié)果;調(diào)用函數(shù)del實(shí)現(xiàn)a-b,并輸出結(jié)果。 a: 20304,xxxx,75, 20311,yyyy,89 20303,zzzz,62 20307,aaaa,87 20320,bbbb,79 b: 20302,dddd,65 20301,cccc,99 20311,yyyy,87 20323,kkkk,88 20307,aaaa,92 20322,pppp,83

    標(biāo)簽: student struct score long

    上傳時(shí)間: 2016-04-13

    上傳用戶:zxc23456789

  • 解決N皇后問題

    解決N皇后問題,使用的是C++編寫的,有興趣的可以

    標(biāo)簽:

    上傳時(shí)間: 2016-04-20

    上傳用戶:wang5829

  • 回溯算法解決n皇后問題

    回溯算法解決n皇后問題,c++源碼,可以參考

    標(biāo)簽: 回溯算法

    上傳時(shí)間: 2016-05-04

    上傳用戶:牛津鞋

主站蜘蛛池模板: 永德县| 西畴县| 杭锦后旗| 报价| 哈巴河县| 广河县| 陵川县| 双流县| 托里县| 乾安县| 翼城县| 广灵县| 南丹县| 永登县| 鄯善县| 泸州市| 洛南县| 桐城市| 阿合奇县| 万宁市| 平泉县| 祁门县| 平安县| 玉树县| 岐山县| 奈曼旗| 桂林市| 彭阳县| 曲沃县| 遵义市| 上高县| 莆田市| 治县。| 岫岩| 甘肃省| 万州区| 米易县| 墨玉县| 琼结县| 巴林左旗| 恭城|