1.有三根桿子A,B,C。A桿上有若干碟子 2.每次移動一塊碟子,小的只能疊在大的上面 3.把所有碟子從A桿全部移到C桿上 經(jīng)過研究發(fā)現(xiàn),漢諾塔的破解很簡單,就是按照移動規(guī)則向一個方向移動金片: 如3階漢諾塔的移動:A→C,A→B,C→B,A→C,B→A,B→C,A→C 此外,漢諾塔問題也是程序設計中的經(jīng)典遞歸問題
標簽: 移動 發(fā)現(xiàn)
上傳時間: 2016-07-25
上傳用戶:gxrui1991
Produce Java classes to calculate and display the root of a quadratic equation when input the coefficients a, b and c within the range of -100 to 100 by user.
標簽: calculate the quadratic equation
上傳時間: 2014-01-17
上傳用戶:aappkkee
溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
上傳時間: 2014-11-10
上傳用戶:wpwpwlxwlx
溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
上傳時間: 2013-12-12
上傳用戶:亞亞娟娟123
輸入、輸出功能,檢驗輸入的數(shù)是否為數(shù)字功能,ASCII碼與二進制數(shù)的的相互轉(zhuǎn)化功能,兩數(shù)相乘功能,因此整個程序定義了兩個宏INPUT和MULTIPLE,宏INPUT實現(xiàn)了輸入、檢驗和ASCII碼與二進制的相互轉(zhuǎn)換功能,MULTIPLE實現(xiàn)了兩數(shù)相乘功能,實現(xiàn)輸出功能的是子程序OUTPUT,由于在輸入的過程中多次用到了回車換行,因此定義了一個回車換行子程序CRLF。
上傳時間: 2017-02-08
上傳用戶:Ants
All of Java s Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java provides many different kinds of streams, each with its own application. The universe of streams is divided into four large categories: input streams and output streams, for reading and writing binary data and readers and writers, for reading and writing textual (character) data. You re almost certainly familiar with the basic kinds of streams--but did you know that there s a CipherInputStream for reading encrypted data? And a ZipOutputStream for automatically compressing data? Do you know how to use buffered streams effectively to make your I/O operations more efficient? Java I/O, 2nd Edition has been updated for Java 5.0 APIs and tells you all you ever need to know about streams--and probably more.
標簽: facilities streams provide Output
上傳時間: 2013-12-17
上傳用戶:6546544
給定兩個集合A、B,集合內(nèi)的任一元素x滿足1 ≤ x ≤ 109,并且每個集合的元素個數(shù)不大于105。我們希望求出A、B之間的關系。 任 務 :給定兩個集合的描述,判斷它們滿足下列關系的哪一種: A是B的一個真子集,輸出“A is a proper subset of B” B是A的一個真子集,輸出“B is a proper subset of A” A和B是同一個集合,輸出“A equals B” A和B的交集為空,輸出“A and B are disjoint” 上述情況都不是,輸出“I m confused!”
標簽:
上傳時間: 2017-03-15
上傳用戶:yulg
3rd Generation Partnership Project Technical Specification Group Radio Access Network Spatial channel model for Multiple Input Multiple Output [MIMO] simulations
標簽: Specification Partnership Generation Technical
上傳時間: 2014-01-11
上傳用戶:nanfeicui
Multiple-Input Multiple-Output (MIMO) systems have recently been the subject of intensive consideration in modem wireless communications as they offer the potential of providing high capacity, thus unleashing a wide range of applications in the wireless domain. The main feature of MIMO systems is the use of space-time processing and Space-Time Codes (STCs). Among a variety of STCs, orthogonal Space-Time Block Codes (STBCs) have a much simpler decoding method, compared to other STCs
標簽: Orthogonal Space-Time Processing Complex
上傳時間: 2020-05-26
上傳用戶:shancjb
Multiuser multiple-input-multiple-output (MU- MIMO) systems are known to be hindered by dimensionality loss due to channel state information (CSI) acquisition overhead. In this paper, we investigate user-scheduling in MU-MIMO systems on account of CSI acquisition overhead, where a base station dynamically acquires user channels to avoid choking the system with CSI overhead.
標簽: Acquisition Dynamic Channel
上傳時間: 2020-05-27
上傳用戶:shancjb