JAVA 2應用編程150例,全部代碼全部在JDK中調試成功,因此一般可在其他開發工具中使用。注意有些實例只提供了部分模塊,因此運行時需要添加其他代碼。
上傳時間: 2016-01-15
上傳用戶:開懷常笑
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
標簽: represented integers group items
上傳時間: 2016-01-17
上傳用戶:jeffery
關于 C++ 的歷史無須我來介紹了,有興趣的可以用搜尋引擎來找出一堆談 C++ 歷史的,C++ 是個歷久不衰的程式語言,功能強大但入門不易,后期有很多的程式語言致力于擁有 C++ 大部份的功能并去除其不易掌握的部份,即使后期的程式語言如此之多,但 C++ 仍在程式語言工具中占有一席之地。
標簽:
上傳時間: 2013-12-24
上傳用戶:84425894
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
標簽: converts Toolbox complex logical
上傳時間: 2016-02-12
上傳用戶:a673761058
本書首先概要介紹Netscape Navigator,即當前流行的Web瀏覽器版本,JavaScript及其與Java的關系,以及它在Web開發工具Netscape 中的地位,然后重點介紹JavaScript語言的各個方面以及如何將它們應用于Web的實際網景中。本書中提供了一些小的腳本,這些腳本可直接用于讀者自己的Web頁面。本書還討論了Java,JavaScript,HTML,Navigator等目前流行的這些詞匯的具體含義以及它們之間的關系。本書的附錄部分給出了JavaScript語言參考。書中的絕大多數源代碼都由HTML寫成。本書由淺入深的,實例豐富,是一本學習JavaScript語言的速成指導,本書適用于廣大Web設計者、編程者和網絡愛好者。
上傳時間: 2016-05-20
上傳用戶:黃華強
算法中的優先隊列的實現,在c++開發工具中實現.
上傳時間: 2013-12-16
上傳用戶:stampede
JAVA2(J2ME)實用編程的150個范例,在JDK中調試成功,因此一般可在其他開發工具中使用。注意有些實例只提供了部分模塊,因此運行時需要添加其他代碼。
上傳時間: 2016-10-28
上傳用戶:lizhen9880
人員報警系統,采用51單片機為控制器,用在船舶運輸工具上,為人員的危險地段作業,特意設置的,分別采用5分鐘,10分鐘,15分鐘,25分鐘,等等時間作業,當作業人員遇到到危險時,就報警,讓外部人員知道,做及時的救援,并且采用兩組電源檢查,希望能給需要幫組的人提供參考
標簽: 報警系統
上傳時間: 2017-01-13
上傳用戶:athjac
漢諾塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C
標簽: the animation Simulate movement
上傳時間: 2017-02-11
上傳用戶:waizhang
將魔王的語言抽象為人類的語言:魔王語言由以下兩種規則由人的語言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 設大寫字母表示魔王的語言,小寫字母表示人的語言B-〉tAdA,A-〉sae,eg:B(ehnxgz)B解釋為tsaedsaeezegexenehetsaedsae對應的話是:“天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝”。(t-天d-地s-上a-一只e-鵝z-追g-趕x-下n-蛋h-恨)
上傳時間: 2013-12-19
上傳用戶:aix008