Dijkstra算法求最短路徑(C#版) using System using System.Collections using System.Text namespace Greedy { class Marx { private int[] distance private int row private ArrayList ways = new ArrayList() public Marx(int n,params int[] d) { this.row = n distance = new int[row * row] for (int i = 0 i < row * row i++) { this.distance[i] = d[i]
標簽: System using Collections namespace
上傳時間: 2013-12-29
上傳用戶:liglechongchong
procedureTForm1.Button1Click(Sender:TObject) var S:String begin S:=idhttp1.Get(PostURL.text+ ?username= +EdUserName.Text+ &password= +EdPassWord.Text+ &password2= +EdPassWord.Text+ &email= + EdEMail.Text+ &gendernew=1&year=&month=&day=&locationnew =&site=&oicq=&icq=&yahoo=&msn=&bio=&styleidnew =&tppnew=0&pppnew=0&timeformatnew=12&cstatus=&dateformatnew =yyyy-mm-dd&showemail=1&newsletter=1&timeoffsetnew=8&avatar =&sig=®submit=注冊 ) //一句代碼 ifPos( 非常感謝您的注冊 ,s)>1then //判斷部分 ShowMessage( 注冊成功! ) else ifPos( 已經被注冊了 ,S)>1then ShowMessage( 該用戶名或E-Mail已被注冊! ) else ShowMessage( 已關閉注冊,注冊失敗! ) end
標簽: procedureTForm PostURL TObject Button
上傳時間: 2014-08-24
上傳用戶:努力努力再努力
使用說明: 雙擊Demo.bat文件便可以執行 (需要配置好jre||JDK環境) 請輸入sql語法關鍵字來測試改程序謝謝 目前支持的語法關鍵字如下設置: text.getSettings().setCase_Insensitive(false) // 不區分大小寫 text.getSettings().addKeyWord1("select") text.getSettings().addKeyWord1("commit") text.getSettings().addKeyWord1("from") text.getSettings().addKeyWord1("AND") text.getSettings().addKeyWord1("WHERE") text.getSettings().addKeyWord1("with ur") text.getSettings().addKeyWord1("VARCHAR") text.getSettings().addKeyWord2("inSert") text.getSettings().addKeyWord2("DECLARE") text.getSettings().addKeyWord2("distinct") text.getSettings().addKeyWord2("SET") text.getSettings().addFunctionKeyWord("int") text.getSettings().addFunctionKeyWord("COUNT") text.getSettings().setComment("--") //設置行注釋 當前版本主要改進塊注釋的算法 塊注釋示例: /* 12312334 "測試字符串" select count(*) from where with ur */
上傳時間: 2016-01-10
上傳用戶:l254587896
能夠和支持AT命令通訊的手機進行交互,比如發送短信(Text Mode, PDU mode),打電話等. 除了庫的源代碼以外,還有demo的源代碼. 該代碼是學習短信,modem通訊,手機AT命令通訊的好材料.
上傳時間: 2014-11-30
上傳用戶:xyipie
TFIND searches for one or more strings (boolean AND) in a text file. TFIND reports all lines where the string(s) were found (or NOT found by option). The search can be limited to a field in a fixed field (i.e. column oriented) list. An extended search mode is available, where only letters and digits are relevant. Other options: case sensitive search, alternative errorlevel with number of hits, header line with file name, LFN, custom prefix
標簽: TFIND searches boolean reports
上傳時間: 2016-01-24
上傳用戶:lindor
aDABOOST This package contains the following files: learner.jar - is a platform independent java package. In order to run it on windows/linux open the command prompt/shell and type the command "java -jar learner.jar". Make sure the java installation path is set in the system enviroment. learner.exe - A windows executable version of the application. Doubleclick to run. learner.pdf - The digital version of the report. SRC\ - The source code of the program is in this directory
標簽: independent following aDABOOST contains
上傳時間: 2014-12-05
上傳用戶:xsnjzljj
osg中using two independent camera to veiw a scene
標簽: independent camera using scene
上傳時間: 2014-01-07
上傳用戶:zhangyi99104144
urifind the uri from specially text samples or files. nice.
標簽: specially urifind samples files
上傳時間: 2013-12-20
上傳用戶:sammi
encryption the text or decryption the hash text
標簽: text encryption decryption the
上傳時間: 2014-05-25
上傳用戶:manking0408
利用鍵盤輸入keypress和text的文本比較編制的一個小游戲,目的在于鍛煉鍵盤的熟練程度!
上傳時間: 2013-12-22
上傳用戶:gundan