同一個數會由于采用不同的基數而使得其表現的形式是完全不一樣的,在我們的學習中,我們熟悉的基數有10進制、12進制、60進制、2進制、8進制和16進制。比如數據12,如果我們用2進制表示,則它就是1100;如果用3進制表示就是110;如果用8進制表示則是14。我們的編程任務就是與數的進制(也就是基數)有關。 程序中我們會給大家很多個數對(假設每個數對的數用X和Y表示),程序需要解決的問題就是為X和Y各選擇一個最小的基數,以使得這兩個數在其選擇的基數上是一對相等的數。 例如,12和5這個數對,我們可以為12選擇基數3,為5選擇基數6,這樣一來12(BASE 3)=5(BASE 6),因為12(BASE 3)就是10進制數5,而5(BASE 6)也是10進制數中的5。 程序的輸入是通過文件完成的。 文件中的每一行都包含一個數對X和Y,兩個數通過一個或多個空格符分割,與X和Y相關聯的有效基數值范圍為2~36。X和Y的合理數值表示字符包括0—9和A-Z(表示數值10-35)。 文件的最后一行用一個數字0表示輸入的結束。
標簽:
上傳時間: 2013-12-17
上傳用戶:skfreeman
數據庫封裝原代碼 1. 該代碼可以免費使用, 該代碼的名字暫時定為\"哲別\" 2. 如果你需要使用該代碼, 請注明該代碼的原來作者: Jacky Zhou 3. 如果你發現該代碼有bug,可以自己修改或者請給我發email: zyx040404@163.com 4. 該數據庫封裝代碼功能可以對數據庫的表,視圖和存儲過程進行封裝,易于系統移植,擴展,使用了interface,factory,xml等方法 5. 核心代碼是在\"Sample\\BASE\\DBGW\"里 6. Sample演示了查詢,增加,刪除記錄和如何使用存貯過程 如果你沒有做過,那這些代碼可以用來學習誠然,這并不是最好的代碼,而且中國高人如云學海無涯
上傳時間: 2015-09-22
上傳用戶:
The concept of sustainable development has received growing recognition, but it is a new idea for many business executives. For most, the concept remains abstract and theoretical. Protecting an organization’s capital BASE is a well-accepted business principle. Yet organizations do not generally recognize
標簽: development sustainable recognition received
上傳時間: 2014-09-04
上傳用戶:498732662
The concept of sustainable development has received growing recognition, but it is a new idea for many business executives. For most, the concept remains abstract and theoretical. Protecting an organization’s capital BASE is a well-accepted business principle. Yet organizations do not generally recognize
標簽: development sustainable recognition received
上傳時間: 2013-12-12
上傳用戶:362279997
This data set contains WWW-pages collected from computer science departments of various universities in January 1997 by the World Wide Knowledge BASE (Web->Kb) project of the CMU text learning group. The 8,282 pages were manually classified into the following categories: student (1641) faculty (1124) staff (137) department (182) course (930) project (504) other (3764)
標簽: universities departments WWW-pages collected
上傳時間: 2015-11-12
上傳用戶:chenlong
xajax is an open source PHP libary for building Web-BASEd Ajax applications. This wiki is a community-edited effort to generate information about and documentation for the xajax project. The BASE documentation and starter tutorials were written by the xajax authors, but please feel free to contribute to the discussion tabs for each page. Also, you are encouraged to add to the Tips and Tricks section with your own special xajax discoveries.
標簽: applications Web-BASEd building communit
上傳時間: 2015-11-20
上傳用戶:2404
《為Windows Vista編寫安全的代碼》,2007年出版 Providing developers with first-hand insights into design decisions and practical advice for solving real-world security issues, this authoritative guide urges developers to write more secure code on the Vista platform to support a growing customer BASE. Table of Contents Writing Secure Code for Windows Vista Foreword Introduction Chapter 1 - Code Quality Chapter 2 - User Account Control, Tokens, and Integrity Levels Chapter 3 - Buffer Overrun Defenses Chapter 4 - Networking Defenses Chapter 5 - Creating Secure and Resilient Chapter 6 - Internet Explorer 7 Defenses Chapter 7 - Cryptographic Enhancements Chapter 8 - Authentication and Authorization Chapter 9 - Miscellaneous Defenses and Security-Related Technologies Index List of Figures List of Tables List of Sidebars
上傳時間: 2016-01-07
上傳用戶:zxc23456789
radius協議源碼÷The Radius Stack will connect to a Radius Server. This stack implementation is built upon the UdpStack which is available in the radius{version}/util directory. A minimal set of VSAs (Vendor Specific Attributes are supported by this stack). The Radius Stack should be used as a BASE class. In order to implement a larger set of VSAs, one will need to subclass from the Radius Stack and implement the functionality within the virtual function processVsa(). The Radius Stack supports mostly accounting messages. The authentcation messages will be supported in a future release. A test program has been provided in the radius directory. This program shows how to subclass from the RadiusStack and how to use the api.
標簽: Radius implementation connect radius
上傳時間: 2013-12-12
上傳用戶:壞天使kk
風險財務控制庫 Risk Quantify is an open source financial library, with a focus on managing the risk of financial instruments. The aim of this project is to provide people working in the financial industry with a good BASE to use in building their own applications. Risk Quantify provides pricing routines, term structure building and management, calendar routines, asset management routines and more.
標簽: financial Quantify managing library
上傳時間: 2014-01-25
上傳用戶:363186
As science advances, novel experiments are becoming more and more complex, requiring a zoo of control devices and electronics executing complicated sequences of steps. Device availability and monetary constrains usually lead to a highly heterogeneous setup with components from several different manufacturers using many different protocols and interfacing mechanisms. This often results in control software being puzzled together to use and provide a multitude of interfacing and control functionality, each using their own calling conventions, data structures, etc. To make matters worse, usually a group of relatively independent programmers is trying to write and maintain the code BASE. Often this causes extensive duplication of effort as program segments are hard to reuse, since unpredictable changes to the segments by the original authors might compromise other code using these segments.
標簽: more experiments requiring advances
上傳時間: 2013-12-24
上傳用戶:qilin