#include<iom16v.h> #include<macros.h> #define uint unsigned int #define uchar unsigned char uint a,b,c,d=0; void delay(c) { for for(a=0;a<c;a++) for(b=0;b<12;b++); }; uchar tab[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,
上傳時間: 2013-10-21
上傳用戶:13788529953
本軟件是多種EDA軟件的鼠標增強工具,綠色單文件,支持Win9x/NT/2000/XP/WIN7,其中WIN7需要以管理員模式運行,另外,Win9x需要編譯成非UNICODE版本,有需要的用戶可發郵件給我索取,支持protel99se,DXP(AD),PADS,OrCAD的capture、Cam350、Saber、PC Schematic、Allegro、CircuitCAM,并且對每個軟件的功能都可設置,用戶可根據使用習慣打開或者關閉功能。 軟件啟動時和啟動后每隔24小時檢查更新,如果系統能上網,有更新時會有增量更新信息。 針對protel99se, DXP,Altium Designer: 1. 向上滾動滾輪 --> 放大,相當于PageUp(不能改掉軟件原來的快捷鍵,否則就不靈了) 2. 向下滾動滾輪 --> 縮小,相當于PageDown(不能改掉軟件原來的快捷鍵,否則就不靈了) 3. 按下滾輪 --> 切換有效圖層并刷新,相當于小鍵盤'*'的功能 4. 按左鍵拖目標 --> 再按右鍵可旋轉,相當于空格鍵的功能,在布局時非常好用,請留意 5. 按右鍵拖動屏幕 6. 原理圖里單擊中鍵呼出放置菜單,相當于按“P”鍵1次,連按兩次相當于直接放置元件 7. 按中鍵向左移動撤消操作,相當于ALT+Backspace 8. 按中鍵向右移動重做操作,相當于CTRL+Backspace 9. 按中鍵向上移動,畫線時刪除上一次操作,相當于按Backspace 10.按中鍵向下移動,可刪除當前焦點或選中內容,相當于按DELETE和CTRL+DELETE 針對PADS(支持各種版本logic, pcb): 1. 向上滾動滾輪 --> 放大,相當于PageUp 2. 向下滾動滾輪 --> 縮小,相當于PageDown 3. 按住鼠標右鍵移動,可移動工作區,相當于SHIFT+滾輪或者ALT+滾輪,不平滑 4. 鼠標中鍵點擊 --> 切換圖層,相當于F4,原中鍵點擊功能廢棄 5. 按左鍵拖目標 --> 再按右鍵可旋轉,相當于TAB鍵的功能,在布局時非常好用,請留意
標簽: EDA
上傳時間: 2013-11-08
上傳用戶:cooran
本軟件是多種EDA軟件的鼠標增強工具,綠色單文件,支持Win9x/NT/2000/XP/WIN7,其中WIN7需要以管理員模式運行,另外,Win9x需要編譯成非UNICODE版本,有需要的用戶可發郵件給我索取,支持protel99se,DXP(AD),PADS,OrCAD的capture、Cam350、Saber、PC Schematic、Allegro、CircuitCAM,并且對每個軟件的功能都可設置,用戶可根據使用習慣打開或者關閉功能。 軟件啟動時和啟動后每隔24小時檢查更新,如果系統能上網,有更新時會有增量更新信息。 針對protel99se, DXP,Altium Designer: 1. 向上滾動滾輪 --> 放大,相當于PageUp(不能改掉軟件原來的快捷鍵,否則就不靈了) 2. 向下滾動滾輪 --> 縮小,相當于PageDown(不能改掉軟件原來的快捷鍵,否則就不靈了) 3. 按下滾輪 --> 切換有效圖層并刷新,相當于小鍵盤'*'的功能 4. 按左鍵拖目標 --> 再按右鍵可旋轉,相當于空格鍵的功能,在布局時非常好用,請留意 5. 按右鍵拖動屏幕 6. 原理圖里單擊中鍵呼出放置菜單,相當于按“P”鍵1次,連按兩次相當于直接放置元件 7. 按中鍵向左移動撤消操作,相當于ALT+Backspace 8. 按中鍵向右移動重做操作,相當于CTRL+Backspace 9. 按中鍵向上移動,畫線時刪除上一次操作,相當于按Backspace 10.按中鍵向下移動,可刪除當前焦點或選中內容,相當于按DELETE和CTRL+DELETE 針對PADS(支持各種版本logic, pcb): 1. 向上滾動滾輪 --> 放大,相當于PageUp 2. 向下滾動滾輪 --> 縮小,相當于PageDown 3. 按住鼠標右鍵移動,可移動工作區,相當于SHIFT+滾輪或者ALT+滾輪,不平滑 4. 鼠標中鍵點擊 --> 切換圖層,相當于F4,原中鍵點擊功能廢棄 5. 按左鍵拖目標 --> 再按右鍵可旋轉,相當于TAB鍵的功能,在布局時非常好用,請留意
標簽: EDA
上傳時間: 2014-01-14
上傳用戶:竺羽翎2222
題目:利用條件運算符的嵌套來完成此題:學習成績>=90分的同學用A表示,60-89分之間的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b這是條件運算符的基本例子。
上傳時間: 2015-01-08
上傳用戶:lifangyuan12
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
51做的門禁系統代碼,有4×4鍵盤掃描,9346的存儲功能,掉電不丟失密碼,3重密碼防忘記功能
上傳時間: 2013-12-16
上傳用戶:李彥東
NET源碼 升級內容: 可設置分類訂閱rss,把rss內容作為一個分類顯示, 從而可以在網站顯示任意提供rss的網站的最新內容 可設置網站限指定IP段可訪問 新聞維護功能:按標題搜索和指定相關關鍵字生成相關新聞;批量設置新聞可否評論;批量生成新聞簡介 簽收增加簽收時間 公告字數限制加到5000 新聞管理員權限增加采集 新聞管理界面可以只顯示自己添加新聞 評論字數最多5000,可在系統設置中調整大小 Headline增加一個參數,可設置第一個頭條新聞是否顯示簡介 WbTextBox控件增加參數PasteTextOnly="true|false",設置是否只能在控件中粘貼純文本
上傳時間: 2015-05-06
上傳用戶:shawvi
數字運算,判斷一個數是否接近素數 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
上傳時間: 2015-05-21
上傳用戶:daguda
源代碼\用動態規劃算法計算序列關系個數 用關系"<"和"="將3個數a,b,c依次序排列時,有13種不同的序列關系: 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個數依序列,設計一個動態規劃算法,計算出有多少種不同的序列關系, 要求算法只占用O(n),只耗時O(n*n).
上傳時間: 2013-12-26
上傳用戶:siguazgb
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