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

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

DES<b>TWOFISH</b>AES-BlowfishAES-<b>TWOFISH</b>

  • C++完美演繹 經(jīng)典算法 如 /* 頭文件:my_Include.h */ #include <stdio.h> /* 展開C語(yǔ)言的內(nèi)建函數(shù)指令 */ #define PI 3.141

    C++完美演繹 經(jīng)典算法 如 /* 頭文件:my_Include.h */ #include <stdio.h> /* 展開C語(yǔ)言的內(nèi)建函數(shù)指令 */ #define PI 3.1415926 /* 宏常量,在稍后章節(jié)再詳解 */ #define circle(radius) (PI*radius*radius) /* 宏函數(shù),圓的面積 */ /* 將比較數(shù)值大小的函數(shù)寫在自編include文件內(nèi) */ int show_big_or_small (int a,int b,int c) { int tmp if (a>b) { tmp = a a = b b = tmp } if (b>c) { tmp = b b = c c = tmp } if (a>b) { tmp = a a = b b = tmp } printf("由小至大排序之后的結(jié)果:%d %d %d\n", a, b, c) } 程序執(zhí)行結(jié)果: 由小至大排序之后的結(jié)果:1 2 3 可將內(nèi)建函數(shù)的include文件展開在自編的include文件中 圓圈的面積是=201.0619264

    標(biāo)簽: my_Include include define 3.141

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

    上傳用戶:epson850

  • 一元稀疏多項(xiàng)式計(jì)算器[加法和乘法] 問(wèn)題描述: 設(shè)計(jì)一元系數(shù)多項(xiàng)式計(jì)數(shù)器實(shí)現(xiàn)兩個(gè)多項(xiàng)式間的加法、減法。 基本要求: (1) 輸入并建立多項(xiàng)式 (2) 輸出多項(xiàng)式

    一元稀疏多項(xiàng)式計(jì)算器[加法和乘法] 問(wèn)題描述: 設(shè)計(jì)一元系數(shù)多項(xiàng)式計(jì)數(shù)器實(shí)現(xiàn)兩個(gè)多項(xiàng)式間的加法、減法。 基本要求: (1) 輸入并建立多項(xiàng)式 (2) 輸出多項(xiàng)式,輸出形式為整數(shù)序列:n,c1,e1,c2,e2……cn,en,其中n是多項(xiàng)式的項(xiàng)數(shù),ci,ei分別為第i項(xiàng)的系數(shù)和指數(shù)。序列按指數(shù)降序排列。 (3) 多項(xiàng)式a和b相加,建立多項(xiàng)式a+b,輸出相加的多項(xiàng)式。 (4) 多項(xiàng)式a和b相減,建立多項(xiàng)式a-b,輸出相減的多項(xiàng)式。 用帶表頭結(jié)點(diǎn)的單鏈表存儲(chǔ)多項(xiàng)式。 測(cè)試數(shù)據(jù): (1) (2x+5x8-3.1x11)+(7-5x8+11x9) (2) (6x-3-x+4.4x2-1.2x9)-(-6x-3+5.4x2+7.8x15) (3) (x+x2+x3)+0 (4) (x+x3)-(-x-x-3)

    標(biāo)簽: 多項(xiàng)式 加法 稀疏 乘法

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

    上傳用戶:561596

  • 數(shù)字運(yùn)算

    數(shù)字運(yùn)算,判斷一個(gè)數(shù)是否接近素?cái)?shù) A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    標(biāo)簽: 數(shù)字 運(yùn)算

    上傳時(shí)間: 2015-05-21

    上傳用戶:daguda

  • TIMER.ASM ********* [ milindhp@tifrvax.tifr.res.in ] Set Processor configuration word as = 000

    TIMER.ASM ********* [ milindhp@tifrvax.tifr.res.in ] Set Processor configuration word as = 0000 0000 1010 b. a] -MCLR tied to VDD (internally). b] Code protection off. c] WDT disabled. d] Internal RC oscillator [4 MHZ].

    標(biāo)簽: configuration Processor milindhp tifrvax

    上傳時(shí)間: 2015-05-24

    上傳用戶:wqxstar

  • c語(yǔ)言版的多項(xiàng)式曲線擬合。 用最小二乘法進(jìn)行曲線擬合. 用p-1 次多項(xiàng)式進(jìn)行擬合

    c語(yǔ)言版的多項(xiàng)式曲線擬合。 用最小二乘法進(jìn)行曲線擬合. 用p-1 次多項(xiàng)式進(jìn)行擬合,p<= 10 x,y 的第0個(gè)域x[0],y[0],沒(méi)有用,有效數(shù)據(jù)從x[1],y[1] 開始 nNodeNum,有效數(shù)據(jù)節(jié)點(diǎn)的個(gè)數(shù)。 b,為輸出的多項(xiàng)式系數(shù),b[i] 為b[i-1]次項(xiàng)。b[0],沒(méi)有用。 b,有10個(gè)元素ok。

    標(biāo)簽: 多項(xiàng)式 曲線擬合 c語(yǔ)言 最小二乘法

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

    上傳用戶:變形金剛

  • 1問(wèn)題描述: 設(shè)計(jì)一個(gè)實(shí)現(xiàn)稀疏多項(xiàng)式乘法的程序 2需求分析: 編程實(shí)現(xiàn)兩個(gè)一元多項(xiàng)式相乘

    1問(wèn)題描述: 設(shè)計(jì)一個(gè)實(shí)現(xiàn)稀疏多項(xiàng)式乘法的程序 2需求分析: 編程實(shí)現(xiàn)兩個(gè)一元多項(xiàng)式相乘,要求: 2.1輸入并建立多項(xiàng)式; 2.2輸出多項(xiàng)式,輸出形式為整數(shù)序列:n,c1,e1,c2,e2``````,cn.,en,其中n是多項(xiàng)式的系數(shù),ci和ei分別是第i項(xiàng)的系數(shù)和指數(shù),序列按指數(shù)降序排列。 2.3多項(xiàng)式a和b相乘,建立結(jié)果多項(xiàng)式a*b

    標(biāo)簽: 多項(xiàng)式 稀疏 乘法

    上傳時(shí)間: 2015-08-15

    上傳用戶:zhangliming420

  • 黑白點(diǎn)的匹配貪心算法 設(shè)平面上分布著n個(gè)白點(diǎn)和n個(gè)黑點(diǎn)

    黑白點(diǎn)的匹配貪心算法 設(shè)平面上分布著n個(gè)白點(diǎn)和n個(gè)黑點(diǎn),每個(gè)點(diǎn)用一對(duì)坐標(biāo)(x, y)表示。一個(gè)黑點(diǎn)b=(xb,yb)支配一個(gè)白點(diǎn)w=(xw, yw)當(dāng)且僅當(dāng)xb>=xw和yb>=yw。若黑點(diǎn)b支配白點(diǎn)w,則黑點(diǎn)b和白點(diǎn)w可匹配(可形成一個(gè)匹配對(duì))。在一個(gè)黑點(diǎn)最多只能與一個(gè)白點(diǎn)匹配,一個(gè)白點(diǎn)最多只能與一個(gè)黑點(diǎn)匹配的前提下,求n個(gè)白點(diǎn)和n個(gè)黑點(diǎn)的最大匹配對(duì)數(shù)。

    標(biāo)簽: 黑白 算法 分布

    上傳時(shí)間: 2015-10-25

    上傳用戶:zhliu007

  • 古典密碼中

    古典密碼中,主要的思想為移位算法及置換算法。 1.移位密碼 密鑰K為整數(shù),且取值空間為0到25;加密函數(shù):x = x + k (mod 26);解密函數(shù):x = x - k (mod 26)。當(dāng)K=3時(shí),為凱撒密碼。 2.仿射密碼 密鑰對(duì)由a、b組成,整數(shù)a滿足 gcd(a, 26) = 1,整數(shù)b的取值空間為0到25;加密函數(shù):x = ax + b(mod 26);解密函數(shù):x = a*y - a*b (mod 26)。當(dāng)a=1,b=3時(shí),為凱撒密碼。 3.維吉尼亞密碼 首先確定密鑰長(zhǎng)度(本例中密鑰只采取個(gè)位數(shù)字,所以取決于輸入密鑰的長(zhǎng)度),然后輸入滿足這個(gè)長(zhǎng)度的向量;加密:取明文第一個(gè)字母并將之移k1位,這里k1=1,第二個(gè)字母移k2位,k2=2,一旦到了密鑰末尾,又從頭開始。 4.換位密碼 首先確定密鑰長(zhǎng)度,輸入長(zhǎng)度為5的0到4的整數(shù)序列,將明文分成每5個(gè)字母一組,每組字母按照密鑰進(jìn)行換位。

    標(biāo)簽: 密碼

    上傳時(shí)間: 2016-02-09

    上傳用戶:jqy_china

  • 編程題(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)、成績(jī)由鍵盤輸入,一共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)相同則保留成績(jī)高的結(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

  • segment,一個(gè)簡(jiǎn)單的中文分詞程序

    segment,一個(gè)簡(jiǎn)單的中文分詞程序,命令行如下: java -jar segmenter.jar [-b|-g|-8|-s|-t] inputfile.txt -b Big5, -g GB2312, -8 UTF-8, -s simp. chars, -t trad. chars Segmented text will be saved to inputfile.txt.seg

    標(biāo)簽: segment 程序

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

    上傳用戶:ynzfm

主站蜘蛛池模板: 墨江| 海丰县| 大埔区| 诏安县| 璧山县| 平定县| 凤庆县| 涞水县| 克拉玛依市| 剑河县| 清水河县| 宜兴市| 开鲁县| 曲阜市| 西充县| 宣恩县| 荃湾区| 息烽县| 温泉县| 肇庆市| 鄢陵县| 离岛区| 民权县| 吉安市| 宁晋县| 台安县| 顺昌县| 获嘉县| 西盟| 郯城县| 平罗县| 富锦市| 阜新市| 株洲县| 花莲市| 阳东县| 铜鼓县| 泾川县| 蒙阴县| 惠州市| 鸡泽县|