Small Device C Compiler 面向Inter8051,Zilog Z80,Dallas 80C390,Motorola HC80等系列單片機的開源C編譯器,針對上述產品進行了優化
標簽: Compiler Device Small Inter
上傳時間: 2013-12-27
上傳用戶:chenlong
本系統完成了要求的所有功能,能進行圖書的基本管理業務活動。包括采編入庫、清除庫存、借閱和歸還等。利用B樹對書號建立索引,提高了工作的效率。本系統支持對中文書籍的輸入輸出。.用戶界面友好,有用戶使用說明,每一步操作都有說明與提示。程序運行通過,有詳細的解釋說明。
標簽:
上傳時間: 2014-01-25
上傳用戶:chongcongying
RSA算法 :首先, 找出三個數, p, q, r, 其中 p, q 是兩個相異的質數, r 是與 (p-1)(q-1) 互質的數...... p, q, r 這三個數便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個 m 一定存在, 因為 r 與 (p-1)(q-1) 互質, 用輾轉相除法就可以得到了..... 再來, 計算 n = pq....... m, n 這兩個數便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個大整數, 假設 a < n.... 如果 a >= n 的話, 就將 a 表成 s 進位 (s
標簽: person_key RSA 算法
上傳時間: 2013-12-14
上傳用戶:zhuyibin
按遞歸下降方式設計其編譯程序,生成PL/0棧式指令代碼,然后解釋執行。用(a=1)+2*(b=3+4*5)/2+2*a*b-(a=a+5)/ (c=2) 測試
上傳時間: 2014-01-02
上傳用戶:firstbyte
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].
標簽: configuration Processor milindhp tifrvax
上傳時間: 2015-05-24
上傳用戶:wqxstar
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
標簽: government streamline important alphabet
上傳時間: 2015-06-09
上傳用戶:weixiao99
LCS(最長公共子序列)問題可以簡單地描述如下: 一個給定序列的子序列是在該序列中刪去若干元素后得到的序列。給定兩個序列X和Y,當另一序列Z既是X的子序列又是Y的子序列時,稱Z是序列X和Y的公共子序列。例如,若X={A,B,C,B,D,B,A},Y={B,D,C,A,B,A},則序列{B,C,A}是X和Y的一個公共子序列,但它不是X和Y的一個最長公共子序列。序列{B,C,B,A}也是X和Y的一個公共子序列,它的長度為4,而且它是X和Y的一個最長公共子序列,因為X和Y沒有長度大于4的公共子序列。 最長公共子序列問題就是給定兩個序列X={x1,x2,...xm}和Y={y1,y2,...yn},找出X和Y的一個最長公共子序列。對于這個問題比較容易想到的算法是窮舉,對X的所有子序列,檢查它是否也是Y的子序列,從而確定它是否為X和Y的公共子序列,并且在檢查過程中記錄最長的公共子序列。X的所有子序列都檢查過后即可求出X和Y的最長公共子序列。X的每個子序列相應于下標集{1,2,...,m}的一個子集。因此,共有2^m個不同子序列,從而窮舉搜索法需要指數時間。
上傳時間: 2015-06-09
上傳用戶:氣溫達上千萬的
A,B,C三個單鏈表做存儲結構的遞增有序鏈表現對A表做以下操作:刪除既在B表又在C表中出現的元素
標簽:
上傳時間: 2015-06-20
上傳用戶:baiom
需求描述: 南水北調工程東線江蘇江陰至山東濟寧之間,地勢北高南低,沿途需要建立一系列大型抽水泵站進行梯級抽水。通常每兩個泵站之間需要建設一座水庫作為中轉。低處泵站將水抽到中轉水庫,再由高處泵站向更高的中轉水庫抽水。設有泵站A,B和中轉水庫C,泵站設有一定數量的抽水機,水庫有一定容量,當水位高于允許最高水位,禁止低處泵站注水;當水位低于允許最低水位,禁止高處泵站抽水。 請用面向對象方法設計一個仿真程序,要求: 1, 兩座泵站在隨機時間,以隨機時間長度,隨機臺抽水機抽水或注水 2, 水庫根據自身容量允許或禁止泵站抽水,以保證自身處于安全水位。 3, 泵站即使在允許抽水/注水條件下,依然可以根據自身狀態(如高/低處水庫水位情況)選擇抽水/注水,由于只考慮兩個泵站一個水庫,此功能可由隨機數實現。 剛學java,寫的比較業余,請高手指點!
上傳時間: 2014-01-16
上傳用戶:541657925
光學設計軟件zemax源碼: This DLL models an nular aspheric surface as described in: "Annular surfaces in annular field systems" By Jose M. Sasian Opt. eng. 36 (12) P 3401-3401 December 1997 This surface is essentially an odd aspheric surface with an offset in the aspheric terms. The sag is given by: Z = (c*r*r) / (1+(1-((1+k)*c*c*r*r))^ 1/2 ) + a*(r-q)^2 + b*(r-q)^3 + c*(r-q)^4 + ... Note the terms a, b, c, ... have units of length to the -1, -2, -3, ... power.
標簽: described aspheric surfaces Annular
上傳時間: 2014-01-08
上傳用戶:yyyyyyyyyy