Description 將m個孩子從1到m編上號,按序號圍坐成一個圈,從1號孩子開始數,每數到n時,被數到的孩子即離開圈子,然后從下一個孩子開始,再從1開始數,如此不斷地數下去,只到只剩下最后一個孩子,問剩下的孩子是幾號? Input 輸入為一組整數對,每個整數對占一行,整數對的第一個整數表示m,即孩子的個數,第二個整數表示n,即被數到n的孩子將離開。 0<m<10000, n>0 輸入以0 0作為結束。 Output 每組整數對輸出一個結果整數,每個輸出占一行。 最后一行輸入0 0不產生輸出。
標簽: Description
上傳時間: 2016-12-09
上傳用戶:凌云御清風
Description 一個一元多項式可以看作由若干個一元單項式按降冪排列成的線性表。請編寫程序對輸入的兩個一元多項式求積,并輸出求積的結果。 Input 輸入為兩個一元多項式,每個一元多項式輸入一行,按照降冪依次輸入每個單項式的系數和指數,并以-1 -1作為結束。 系數和指數均為整數,指數不小于0。 Output 輸出為求積結果多項式,按照降冪依次輸出每個單項的系數和指數,每個數值后面用一個空格隔開,輸出結果多項式后換行。 系數為0的單項式不得輸出——除非結果多項式就是0,則直接輸出0。
標簽: Description 多項式 線性 程序
上傳時間: 2016-12-09
上傳用戶:sammi
A passive optical network (PON) is a point-to-multipoint, fiber to the premises network architecture in which unpowered optical splitters are used to enable a single optical fiber to serve multiple premises, typically 32-128. A PON consists of an Optical Line Termination (OLT) at the service provider s central office and a number of Optical Network Units (ONUs) near end users. A PON configuration reduces the amount of fiber and central office equipment required compared with point to point architectures
標簽: network point-to-multipoint architecture premises
上傳時間: 2016-12-10
上傳用戶:王慶才
k-step ahead predictions determined by simulation of the % one-step ahead neural network predictor. For NNARMAX % models the residuals are set to zero when calculating the % predictions. The predictions are compared to the observed output. %
標簽: ahead predictions determined simulation
上傳時間: 2016-12-27
上傳用戶:busterman
% Train a two layer neural network with the Levenberg-Marquardt % method. % % If desired, it is possible to use regularization by % weight decay. Also pruned (ie. not fully connected) networks can % be trained. % % Given a set of corresponding input-output pairs and an initial % network, % [W1,W2,critvec,iteration,lambda]=marq(NetDef,W1,W2,PHI,Y,trparms) % trains the network with the Levenberg-Marquardt method. % % The activation functions can be either linear or tanh. The % network architecture is defined by the matrix NetDef which % has two rows. The first row specifies the hidden layer and the % second row specifies the output layer.
標簽: Levenberg-Marquardt desired network neural
上傳時間: 2016-12-27
上傳用戶:jcljkh
Train a two layer neural network with a recursive prediction error % algorithm ("recursive Gauss-Newton"). Also pruned (i.e., not fully % connected) networks can be trained. % % The activation functions can either be linear or tanh. The network % architecture is defined by the matrix NetDef , which has of two % rows. The first row specifies the hidden layer while the second % specifies the output layer.
標簽: recursive prediction algorithm Gauss-Ne
上傳時間: 2016-12-27
上傳用戶:ljt101007
Java is the first language to provide a cross-platform I/O library that is powerful enough to handle all these diverse tasks. Java is the first programming language with a modern, object-oriented approach to input and output. Java s I/O model is more powerful and more suited to real-world tasks than any other major language used today. Java I/O is the first and still the only book to fully expose the power and sophistication of this library.
標簽: cross-platform language powerful provide
上傳時間: 2014-01-07
上傳用戶:pompey
數值計算牛頓迭代法的matlab源程序 說明如下: %fun----input,the part as the form of f(x) in the equation f(x)=0 % ini----input,sets the starting point to ini % err----input,sets admissible error % sol----output,returns the root of equation
上傳時間: 2014-01-12
上傳用戶:妄想演繹師
數值分析高斯——列主元消去法主程序 說明如下: % a----input,matrix of coefficient % b----input,right vector % sol----output,returns the solution of linear equation
標簽: input coefficient matrix vector
上傳時間: 2017-01-01
上傳用戶:dancnc
開源備份軟件源碼 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that allows the administrator to set up a single master backup server to back up multiple hosts over network to tape drives/changers or disks or optical media. Amanda uses native dump and/or GNU tar facilities and can back up a large number of workstations running multiple versions of Unix. Amanda uses Samba, Cygwin or a native Windows client to back up Microsoft Windows desktops and servers
標簽: Automatic Advanced Maryland Archiver
上傳時間: 2017-01-13
上傳用戶:xc216