-
解決時鐘問題,acm競賽題
A weird clock marked from 0 to 59 has only a minute hand. It won t move until a special coin is thrown into its box. There are different kinds of coins as your options. However once you make your choice, you cannot use any other kind. There are infinite number of coins of each kind, each marked with a number d ( 0 <= 1000 ), meaning that this coin will make the minute hand move d times clockwise the current time. For example, if the current time is 45, and d = 2. Then the minute hand will move clockwise 90 minutes and will be pointing to 15.
Now you are given the initial time s ( 0 <= s <= 59 ) and the coin s type d. Write a program to find the minimum number of d-coins needed to turn the minute hand back to 0.
標簽:
時鐘
上傳時間:
2015-05-21
上傳用戶:rishian
-
Linux 虛擬網絡接口 實例
In the Linux (or Unix) world, most network interfaces, such as eth0 and ppp0, are associated with a physical device that is in charge of transmitting and receiving data packets. However, some logical network interfaces don t feature any physical packet transmission. The most well-known examples of these "virtual" interfaces are the shaper and eql interfaces.
標簽:
Linux
interfaces
network
world
上傳時間:
2014-01-11
上傳用戶:zhangzhenyu
-
The extraordinary growth of the World Wide Web has been fueled by the ability it gives authors to easily and cheaply distribute electronic documents to an international audience. As Web documents have become larger and more complex, However, Web content providers have begun to experience the limitations of a medium that does not provide the extensibility, structure, and data checking needed for large-scale commercial publishing. The ability of Java applets to embed powerful data manipulation capabilities in Web clients makes even clearer the limitations of current methods for the transmittal of document data.
標簽:
extraordinary
the
ability
authors
上傳時間:
2015-08-11
上傳用戶:ANRAN
-
PCI-to-PCI Bridge Architecture Specification Revision 1.1
This specification establishes the requirements that a PCI-to-PCI bridge must meet to be compliant to this specification and the PCI Local Bus Specification. In addition, the requirements for optional extensions are specified. This specification does not describe the implementation details of any particular requirement or optional feature of a PCI-to-PCI bridge, nor is it a goal of this specification to describe any particular PCI-to-PCI bridge implementation. However, some recommendations are provided for some implementation-specific features that can be provided by a PCI-to-PCI bridge.
標簽:
Specification
specification
Architecture
establishes
上傳時間:
2014-01-14
上傳用戶:caiiicc
-
DWT變換源代碼,As a special exception, you may use this file as part of a free
software library without restriction. Specifically, if other files
instantiate templates or use macros or inline functions from this
file, or you compile this file and link it with other files to
produce an executable, this file does not by itself cause the
resulting executable to be covered by the GNU General Public
License. This exception does not However invalidate any other
reasons why the executable file might be covered by the GNU General Public License.
標簽:
DWT
變換
源代碼
上傳時間:
2014-12-05
上傳用戶:ynsnjs
-
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES LOSS OF USE, DATA, OR PROFITS OR BUSINESS
* INTERRUPTION) However CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH D
標簽:
WARRANTIES
SOFTWARE
PROVIDED
EXPRESS
上傳時間:
2013-12-20
上傳用戶:sxdtlqqjl
-
Knowledge of the process noise covariance matrix
is essential for the application of Kalman filtering. However,
it is usually a difficult task to obtain an explicit expression of
for large time varying systems. This paper looks at an adaptive
Kalman filter method for dynamic harmonic state estimation and
harmonic injection tracking.
標簽:
application
covariance
Knowledge
essential
上傳時間:
2014-01-19
上傳用戶:litianchu
-
C++ Standard Library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, However, is not self-explanatory. To make full use of its components-and to benefit from their power-you need a resource that does far more than list the classes and their functions.
The C++ Standard Library not only provides comprehensive documentation of each library component, it also offers clearly written explanations of complex concepts, describes the practical programming details needed for effective use, and gives example after example of working code.
標簽:
interfaces
Standard
provides
Library
上傳時間:
2014-03-01
上傳用戶:lizhizheng88
-
In the process of copper flash smelting, lining temperature of reaction shaft and its inner wall sluggish play a very important role in lining life. Up to now, However
標簽:
temperature
smelting
reaction
process
上傳時間:
2015-10-03
上傳用戶:wang5829
-
American Gladiator,You are consulting for a game show in which n contestants are pitted against n gladiators in order to see which contestants are the best. The game show aims to rank the contestants in order of strength this is done via a series of 1-on-1 matches between contestants and gladiators. If the contestant is stronger than the gladiator, then the contestant wins the match otherwise, the gladiator wins the match. If the contestant and gladiator have equal strength, then they are “perfect equals” and a tie is declared. We assume that each contestant is the perfect equal of exactly one gladiator, and each gladiator is the perfect equal of exactly one contestant. However, as the gladiators sometimes change from one show to another, we do not know the ordering of strength among the gladiators.
標簽:
contestants
consulting
Gladiator
are
上傳時間:
2013-12-18
上傳用戶:windwolf2000