Shut the Box is a simple diversion written in C and GTK+. The object is simple: Roll the dice and click the tiles that sum up to that dice roll until there are no more tiles to click.
上傳時間: 2014-12-03
上傳用戶:天涯
設計一個具有特定功能的數字電子鐘。準確計時,以數字形式顯示h、min、s 的時間。小時的計時要求為二十四進位,分和秒的計時要求為六十進位。 該電子鐘上電或按鍵復位后能自動顯示系統提示00-00-00,進入時鐘準備狀態;第一次按電子鐘功能鍵,電子鐘從0時0分0秒開始運行,進入時鐘運行狀態;再次按電子鐘功能鍵,則電子鐘進入時鐘調整狀態,此時可利用各調整鍵調整時間,調整結束后可按功能鍵再次進入時鐘運行狀態。
上傳時間: 2017-02-04
上傳用戶:1966640071
學生成績查詢系統,運用結構體,struct ,sort ,Clrscr(),textcolor()函數,用for()循環語句,switch和ifelse作為條件測試語句。 程序實現了學生成績查詢功能,有20個我們班學生的數據信息,每個包含: 學號 — num [10](字符串)、姓名(拼音)— name[25](字符串)、 性別 — sex(字符,M或W)、年齡 — age(整型)、 三門課程成績(高數、英語、計算機)— score [3 ](單精度)。設計一個系統: 定義及輸出。用結構體類型數據及其賦初值的方法把學生的數據送到結構體數組中(第一個數據用自己的真實數據,其它數據自定,但注意要是合法數據),然后把它們輸出顯示;計算并排序。計算每個學生三門課程的總分(sum,單精度)及平均分(aver,單精度,輸出一位小數),還有他們成績的排名,將包括所有數據的結構體數組元素按總分從大到小的順序排序打印出來; 運行程序,進入主界面!可輸入1—輸出所有學生的成績,輸入2—計算和排列學生的成績,輸入3—查詢學生個人成績,輸入4—退出查詢。 在進行學生個人成績個人查詢可以實現多次查詢——進入學生個人查詢,輸入1回車實現多次查詢。 運行環境為TURBOC ,WINDOWSXP。
標簽: 成績查詢系統
上傳時間: 2014-01-01
上傳用戶:cx111111
spoj CCOST . Usage of a 2 dimensional fenwick tree.Querying (log(n)^2) a 2 dimensional matrix for sub sum and updating a cell in O(logn)
標簽: dimensional Querying fenwick matrix
上傳時間: 2017-03-02
上傳用戶:chfanjiang
Genetic Algorithm example using Java You have 10 cards numbered 1 to 10. You have to divide them into 2 piles so that: The sum of the first pile is as close as possible to 36 and the product of all in second pile is as close as poss to 360.
標簽: have Algorithm You numbered
上傳時間: 2017-03-08
上傳用戶:lacsx
寫號步驟: 1、將手機連通CDMA Workshop 2.7,在security選項卡里的 spc中點擊讀取,將000000填入spc里的方框,點擊spc鈕選擇send, 于是顯示spc解鎖成功。 2、點擊“nam”選項卡,將min填入10位碼(就是imsi碼去掉46003剩下的),將mcc填入460,mnc填入03,填入imsi15位碼,banner填入你想填的字符(我填的中國電信),點擊寫入即可 3、這一步,就應該寫入akey碼了(如果不知道AKEY,可以通過電信機房關閉鑒權,但是不推薦這樣做,有盜號風險),點擊“cave”選項卡,在a-key后的方框 填入你的akey,點擊寫入即可。 4、重啟6950,能夠打電話了 針對白三角以及1X上網問題,請注意: 1、如果有白色三角漫游標記,通過將PRL由003升級到008解決方法是 :撥##778#,輸入SPC碼,即000000,點擊VIEW 中PRI后點EDIT,將拷貝到機子中的prl文件瀏覽選到,點擊OK升級 2、CDMA 1X無法上網的解決方法: 撥##778#,輸入SPC碼,即000000,點擊VIEW 中M.IP后將“Mobile IP Only ”改為“simly IP only” SPC在內存中的地址:018E:0190(只要輸入018E)
上傳時間: 2013-12-29
上傳用戶:ainimao
Video-DVM is a very cheap DVM that shows how an output as complex as a videocomposite signal can be generated entirely in software: two I/O pins and three resistors are all the hardware required. Connected to any TV set it displays voltages, included max and min peaks, using both giant digits and an analog bar-display . A serial data output for computer data logging is provided, too.
標簽: videocomposite Video-DVM complex output
上傳時間: 2014-12-09
上傳用戶:xuan‘nian
NN Functions a program in Lisp to demonstrate working of an artificial neuron. (Enter an input vector X and weight vector W. Calculate weighted sum XW. Transform this using signal or activation functions like logistic, threshold, hyperbolic-tangent, linear, exponential, sigmoid or some other functions (syntax provided) and display the output).
標簽: demonstrate artificial Functions program
上傳時間: 2013-12-30
上傳用戶:hfmm633
This routine calls the glpk library to solve a LP/MIP problem. A typical LP problem has following structure: [min|max] C x s.t. Ax ["="|"<="|">="] b {x <= UB} {x >= LB} The calling syntax is: [XMIN,FMIN,STATUS,EXTRA]=glpkmex(SENSE,C,A,B,CTYPE,LB,UB,... VARTYPE,PARAM,LPSOLVER,SAVE)
標簽: problem following routine library
上傳時間: 2014-12-01
上傳用戶:changeboy
ADIAL Basis Function (RBF) networks were introduced into the neural network literature by Broomhead and Lowe [1], which are motivated by observation on the local response in biologic neurons. Due to their better approximation capabilities, simpler network structures and faster learning algorithms, RBF networks have been widely applied in many science and engineering fields. RBF network is three layers feedback network, where each hidden unit implements a radial activation function and each output unit implements a weighted sum of hidden units’ outputs.
標簽: introduced literature Broomhead Function
上傳時間: 2017-08-08
上傳用戶:lingzhichao