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

蟲(chóng)蟲(chóng)首頁(yè)| 資源下載| 資源專(zhuān)輯| 精品軟件
登錄| 注冊(cè)

4<b>7</b>9

  • RSA算法 :首先, 找出三個(gè)數(shù), p, q, r, 其中 p, q 是兩個(gè)相異的質(zhì)數(shù), r 是與 (p-1)(q-1) 互質(zhì)的數(shù)...... p, q, r 這三個(gè)數(shù)便是 person_key

    RSA算法 :首先, 找出三個(gè)數(shù), p, q, r, 其中 p, q 是兩個(gè)相異的質(zhì)數(shù), r 是與 (p-1)(q-1) 互質(zhì)的數(shù)...... p, q, r 這三個(gè)數(shù)便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個(gè) m 一定存在, 因?yàn)?r 與 (p-1)(q-1) 互質(zhì), 用輾轉(zhuǎn)相除法就可以得到了..... 再來(lái), 計(jì)算 n = pq....... m, n 這兩個(gè)數(shù)便是 public_key ,編碼過(guò)程是, 若資料為 a, 將其看成是一個(gè)大整數(shù), 假設(shè) a < n.... 如果 a >= n 的話(huà), 就將 a 表成 s 進(jìn)位 (s

    標(biāo)簽: person_key RSA 算法

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

    上傳用戶(hù):zhuyibin

  • 數(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

    上傳用戶(hù):daguda

  • 源代碼用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a

    源代碼\用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a,b,c依次序排列時(shí),有13種不同的序列關(guān)系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要將n個(gè)數(shù)依序列,設(shè)計(jì)一個(gè)動(dòng)態(tài)規(guī)劃算法,計(jì)算出有多少種不同的序列關(guān)系, 要求算法只占用O(n),只耗時(shí)O(n*n).

    標(biāo)簽: lt 源代碼 動(dòng)態(tài)規(guī)劃 序列

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

    上傳用戶(hù):siguazgb

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    標(biāo)簽: government streamline important alphabet

    上傳時(shí)間: 2015-06-09

    上傳用戶(hù):weixiao99

  • 電力系統(tǒng)在臺(tái)穩(wěn)定計(jì)算式電力系統(tǒng)不正常運(yùn)行方式的一種計(jì)算。它的任務(wù)是已知電力系統(tǒng)某一正常運(yùn)行狀態(tài)和受到某種擾動(dòng)

    電力系統(tǒng)在臺(tái)穩(wěn)定計(jì)算式電力系統(tǒng)不正常運(yùn)行方式的一種計(jì)算。它的任務(wù)是已知電力系統(tǒng)某一正常運(yùn)行狀態(tài)和受到某種擾動(dòng),計(jì)算電力系統(tǒng)所有發(fā)電機(jī)能否同步運(yùn)行 1運(yùn)行說(shuō)明: 請(qǐng)輸入初始功率S0,形如a+bi 請(qǐng)輸入無(wú)限大系統(tǒng)母線(xiàn)電壓V0 請(qǐng)輸入系統(tǒng)等值電抗矩陣B 矩陣B有以下元素組成的行矩陣 1正常運(yùn)行時(shí)的系統(tǒng)直軸等值電抗Xd 2故障運(yùn)行時(shí)的系統(tǒng)直軸等值電抗X d 3故障切除后的系統(tǒng)直軸等值電抗 請(qǐng)輸入慣性時(shí)間常數(shù)Tj 請(qǐng)輸入時(shí)段數(shù)N 請(qǐng)輸入哪個(gè)時(shí)段發(fā)生故障Ni 請(qǐng)輸入每時(shí)段間隔的時(shí)間dt

    標(biāo)簽: 電力系統(tǒng) 計(jì)算 運(yùn)行

    上傳時(shí)間: 2015-06-13

    上傳用戶(hù):it男一枚

  • 利用FaxModem通過(guò)串口或TAPI接口直接發(fā)送和接收傳真 一套非常不錯(cuò)的傳真庫(kù)(穩(wěn)定

    利用FaxModem通過(guò)串口或TAPI接口直接發(fā)送和接收傳真 一套非常不錯(cuò)的傳真庫(kù)(穩(wěn)定,高速),幾乎支持所有的FaxModem,出自Symantec公司 Winfax 中國(guó)作者之手。 一 .Some of the standard features: 1.Comes with Class1, Class1.0, Class2 and Class 2.0 Fax Drivers 2.Class 1 ECM error correction . 3.Supports CCITT T.30 Specifications . 4.TAPI Support with sample code 5.Caller ID 6.Group 4 Faxing 7.Remote Fax Retrieval with password protection 二 .Function declare Reference: include\SmarFaxh.h

    標(biāo)簽: FaxModem TAPI 傳真 串口

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

    上傳用戶(hù):xiaoyunyun

  • 這是描述三次方結(jié)尾問(wèn)題的原程序即給定以數(shù)字1

    這是描述三次方結(jié)尾問(wèn)題的原程序即給定以數(shù)字1,3,7,9 為結(jié)尾的正整數(shù)x,試求一個(gè)十進(jìn)制位數(shù)不超過(guò)x 的十進(jìn)制位 數(shù)的正整數(shù)y使得x恰為y3的結(jié)尾數(shù)字。

    標(biāo)簽: 程序 數(shù)字

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

    上傳用戶(hù):zhangzhenyu

  • 1、對(duì)于凱撒密文

    1、對(duì)于凱撒密文,實(shí)現(xiàn)了:1種盲目式搜索,4種啟發(fā)式搜索,以及利用密鑰實(shí)現(xiàn)的凱撒加密系統(tǒng)。 2、對(duì)于代入法密文,實(shí)現(xiàn)了:2種啟發(fā)式搜索,1種利用密鑰的代入法加密系統(tǒng)以及隨機(jī)生成密鑰的代入法加密系統(tǒng)。 3、字典工具,實(shí)現(xiàn)了對(duì)詞庫(kù)的增加,刪除,檢查等一系列的操作。 4、7種其他較為經(jīng)典的加密方法的加密解密工具。包括:DES、Vigenere、IDEA、Keyword、LFSR、Playfair以及RC4等。

    標(biāo)簽:

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

    上傳用戶(hù):chenxichenyue

  • 約瑟夫環(huán) 1. 本演示程序利用一循環(huán)鏈表,每個(gè)結(jié)點(diǎn)為一人,類(lèi)似將人按順時(shí)針?lè)较驀蝗?每個(gè)結(jié)點(diǎn)包括,號(hào)碼,密碼.號(hào)碼是作為排的順序.密碼用來(lái)作為下一次報(bào)數(shù)的數(shù)字.當(dāng)走到結(jié)尾時(shí),再下個(gè)結(jié)點(diǎn)便循環(huán)回去

    約瑟夫環(huán) 1. 本演示程序利用一循環(huán)鏈表,每個(gè)結(jié)點(diǎn)為一人,類(lèi)似將人按順時(shí)針?lè)较驀蝗?每個(gè)結(jié)點(diǎn)包括,號(hào)碼,密碼.號(hào)碼是作為排的順序.密碼用來(lái)作為下一次報(bào)數(shù)的數(shù)字.當(dāng)走到結(jié)尾時(shí),再下個(gè)結(jié)點(diǎn)便循環(huán)回去,依此類(lèi)推. 2. 演示程序以用戶(hù)與計(jì)算機(jī)的對(duì)話(huà)方式執(zhí)行,用戶(hù)輸入相應(yīng)的數(shù)據(jù),輸出結(jié)果顯示在其后。,即總結(jié)點(diǎn)數(shù),和密碼. 3. 程序執(zhí)行的命令包括:1)創(chuàng)建鏈表 2)尋找結(jié)點(diǎn) 3)刪除結(jié)點(diǎn) 4. 測(cè)試數(shù)據(jù)測(cè)試數(shù)據(jù):m初始值20,n=7,7個(gè)人密碼依次為:3,1,7,2,4,8,4。首先m值為6,正確出列順序?yàn)?,1,4,7,2,3,5。

    標(biāo)簽: 循環(huán) 號(hào)碼 密碼 程序

    上傳時(shí)間: 2014-07-25

    上傳用戶(hù):weiwolkt

  • 一:需求分析 1. 問(wèn)題描述 魔王總是使用自己的一種非常精練而抽象的語(yǔ)言講話(huà),沒(méi)人能聽(tīng)懂,但他的語(yǔ)言是可逐步解釋成人能聽(tīng)懂的語(yǔ)言,因?yàn)樗恼Z(yǔ)言是由以下兩種形式的規(guī)則由人的語(yǔ)言逐步抽象上去的: -

    一:需求分析 1. 問(wèn)題描述 魔王總是使用自己的一種非常精練而抽象的語(yǔ)言講話(huà),沒(méi)人能聽(tīng)懂,但他的語(yǔ)言是可逐步解釋成人能聽(tīng)懂的語(yǔ)言,因?yàn)樗恼Z(yǔ)言是由以下兩種形式的規(guī)則由人的語(yǔ)言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫(xiě)一個(gè)魔王語(yǔ)言的解釋系統(tǒng),把 他的話(huà)解釋成人能聽(tīng)得懂的話(huà). 2. 基本要求: 用下述兩條具體規(guī)則和上述規(guī)則形式(2)實(shí)現(xiàn).設(shè)大寫(xiě)字母表示魔王語(yǔ)言的詞匯 小寫(xiě)字母表示人的語(yǔ)言的詞匯 希臘字母表示可以用大寫(xiě)字母或小寫(xiě)字母代換的變量.魔王語(yǔ)言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測(cè)試數(shù)據(jù): B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫(xiě)字母與漢字建立下表所示的對(duì)應(yīng)關(guān)系,則魔王說(shuō)的話(huà)是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |

    標(biāo)簽: 語(yǔ)言 抽象

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

    上傳用戶(hù):jkhjkh1982

主站蜘蛛池模板: 宁夏| 页游| 蒲城县| 宁南县| 邯郸县| 五寨县| 庆安县| 东阳市| 宁都县| 广宗县| 曲水县| 隆化县| 达孜县| 岑溪市| 个旧市| 宜黄县| 阜宁县| 武宣县| 崇左市| 武川县| 黔西县| 云南省| 恩施市| 铅山县| 太湖县| 洞口县| 县级市| 安平县| 仁布县| 临沂市| 怀远县| 武穴市| 中方县| 邵阳市| 临沂市| 新源县| 岳阳市| 天气| 东莞市| 揭阳市| 汾西县|