The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
ass="tags">标签: government streamline important alphabet
ass="time">上传时间: 2015-06-09
ass="username">上传用户:weixiao99
This is a program that I did several days ago.It is about Airport Ticket Sale System.You can use it as an example.
ass="tags">标签: Airport program several System
ass="time">上传时间: 2015-06-14
ass="username">上传用户:skhlm
The JICQ is the bureau area which JAVA writes according to "Customer s Machine/Server"(C/S) mode message solid hour correspond by letter tool system, the system adopted the SQL Server2000 of Microsoft company as a backstage database, the system passes a JDBC interview database. The system is divided into the server procedure and customer s procedure two parts, server and customer adoption "Transmission Control Protocol"(TCP), connect a word (Socket) conjunction through a set, the adoption "User Datagram Protocol "(UDP) of the customer s, pass a data report a set to connect a word (DatagramSocket) establishment a conjunction. The system has customer registration, customer to register, increase good friend, delete good friend and send out and receive news etc. function.
ass="tags">标签: according Customer Machine Server
ass="time">上传时间: 2014-01-04
ass="username">上传用户:jyycc
This applet illustrates the prediction capabilities of the multi-layer perceptrons. It allows to define an input signal on which prediction will be performed. The user can choose the number of input units, hidden units and output units, as well as the delay between the input series and the predicted output series. Then it is possible to observe interesting prediction properties.
ass="tags">标签: capabilities illustrates multi-layer perceptrons
ass="time">上传时间: 2015-06-17
ass="username">上传用户:lnnn30
Six objects here: The document you re reading & its Chinese version Set of "HWDesign" includes all hardware design files "SWDesign" includes all software design files(firmware/driver and maybe applications as well) Set of "Documents" includes files of main part of thesis and its reference "Thesis" includes files used to academe.
ass="tags">标签: HWDesign document includes Chinese
ass="time">上传时间: 2015-06-17
ass="username">上传用户:xiaodu1124
MantisChess -- A Chinese Chess Program Copyright (C) Chen Chengtao, China This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version.
ass="tags">标签: MantisChess Copyright Chengtao Chinese
ass="time">上传时间: 2015-06-22
ass="username">上传用户:虫虫虫虫虫虫
YSS915 (KP2V2) is an LSI for processing Karaoke voice signals. This LSI has an A/D converter (1 channel) for the microphone echo, and a memory for the microphone echo and key control. These features allow achieving the functions needed for the Karaoke system by using only one LSI chip. as for the microphone echoes, many other types of echoes are available in addition to ordinary ones so that YSS915 is applicable to various uses. In addition to these Karaoke programs, YSS915 is able to provide the Movie & Music programs, with which the surround effect is applied to the movie and music sources for giving the users more enjoyment. YSS915 is pin compatible with and register compatible with YSS903 (KP2V).
ass="tags">标签: processing LSI converter Karaoke
ass="time">上传时间: 2015-06-23
ass="username">上传用户:lijianyu172
A series of .c and .m files which allow one to perform univariate and bivariate wavelet analysis of discrete time series. Noother wavelet package is necessary -- everything is contained in this archive. The C-code computes the DWT and maximal overlap DWT. MATLAB routines are then used to compute such quantities as the wavelet variance, covariance, correlation, cross-covariance and cross-correlation. Approximate confidence intervals are available for all quantities except the cross-covariance and cross-correlation. A set of commands is provided. For a description of this example, please see http://www.eurandom.tue.nl/whitcher/software/.
ass="tags">标签: univariate and bivariate analysis
ass="time">上传时间: 2015-06-23
ass="username">上传用户:chongcongying
Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
ass="tags">标签: connection pool applications program
ass="time">上传时间: 2013-12-25
ass="username">上传用户:playboys0
Writing an Input Module The sample module introduced here is called idiom (Input Device for Intercepting Output of Mice), The sample module registers itself with the USB kernel subsystem as a mouse driver and with the input management subsystem as a keyboard driver. idiom translates mouse movement events into keyboard input events: it reports arrow events to the input system according to how the physical mouse is moved.
ass="tags">标签: Input introduced Writing Device
ass="time">上传时间: 2015-06-25
ass="username">上传用户:731140412