Problem F:汽車加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language: not limited DESCRIPTION 一輛汽車加滿油后可行駛n公里。旅途中有若干個加油站。設計一個有效算法,指出應在哪些加油站停靠加油,使沿途加油次數最少。 編程任務: 對于給定的n和k(k <= 10000)個加油站位置,編程計算最少加油次數。 Input 第一行有2 個正整數n和k,表示汽車加滿油后可行駛n公里,且旅途中有k個加油站。接下來的1 行中,有k+1 個整數,表示第k個加油站與第 k-1 個加油站之間的距離。第0 個加油站表示出發地,汽車已加滿油。第k+1 個加油站表示目的地。 Output 輸出最少加油次數。如果無法到達目的地,則輸出”No Solution”。 Sample Input 7 7 1 2 3 4 5 1 6 6 Sample Output 4
標簽: Limit Accepted Language Problem
上傳時間: 2016-04-12
上傳用戶:youth25
JaNet: Java Neural Network Toolkit resume: A well documented toolkit for designing and training, and a java library for inclusion in third party programs. DESCRIPTION: jaNet package is a java neural network toolkit, which you can use to design, test, train and optimize an ideal Neural Network for your private application. You can then include your saved network in your program using the jaNet.backprop package. The consequent documentation is only in french for the moment, but an english translation is planned. The java source code is released under GPL, and can be compiled with JDK, Symantec Cafe or MS Visual J
標簽: documented designing training Network
上傳時間: 2016-04-15
上傳用戶:zhanditian
一種硬件描述語言(HDL),英文全稱為Very High Speed Integrated Circuit Hardware DESCRIPTION Language ,超高速集成電路硬件描述語言。
上傳時間: 2016-05-12
上傳用戶:waizhang
//*** *** *** *** *** *** *** *** *** *** *** *** *** * // MSP-FET430x110 Demo - Software Toggle P1.0 // // DESCRIPTION: Toggle P1.0 by xor ing P1.0 inside of a software loop. // ACLK = n/a, MCLK = SMCLK = default DCO ~800k // // MSP430F1121 // ----------------- // /|\| XIN|- // | | | // --|RST XOUT|- // | | // | P1.0|-->LED // // M. Buccini // Texas Instruments Inc. // Feb 2005 // Built with IAR Embedded Workbench Version: 3.21A
標簽: Software MSP-FET Toggle Demo
上傳時間: 2014-01-09
上傳用戶:問題問題
** File name: target.h ** Last modified Date: 2004-09-17 ** Last Version: 1.0 ** DESCRIPTIONs: header file of the specific codes for LPC2100 target boards ** Every project should include a copy of this file, user may modify it as ne
標簽: Last DESCRIPTION modified Version
上傳時間: 2014-05-30
上傳用戶:wanghui2438
The Ruby Way takes a "how-to" approach to Ruby programming with the bulk of the material consisting of more than 400 examples arranged by topic. Each example answers the question "How do I do this in Ruby?" Working along with the author, you are presented with the task DESCRIPTION and a discussion of the technical constraints. This is followed by a step-by-step presentation of one good solution. Along the way, the author provides detailed commentary and explanations to aid your understanding.
標簽: Ruby programming consisting the
上傳時間: 2013-12-13
上傳用戶:yoleeson
.ifnz I2C_SUPPORT ************************************************************** Function : fProcessI2cRead DESCRIPTION : process I2C write function Input : IOP_DATA1_H=rCtrlByte,IOP_DATA1_L=rAddr Output : NONE ************************************************************** fProcessI2cRead: fetch parameter lda IOP_DATA1_H sta rCtrlByte lda IOP_DATA1_L sta rAddr jsr fI2cSendCmdAddr bcs lReadI2CFail
標簽: C_SUPPORT Function ifnz fPro
上傳時間: 2016-07-21
上傳用戶:xaijhqx
---- ---- ---- WISHBONE Wishbone_BFM IP Core ---- ---- ---- ---- This file is part of the Wishbone_BFM project ---- ---- http://www.opencores.org/cores/Wishbone_BFM/ ---- ---- ---- ---- DESCRIPTION ---- ---- Implementation of Wishbone_BFM IP core according to ---- ---- Wishbone_BFM IP core specification document.
標簽: Wishbone_BFM WISHBONE Wishbon Core
上傳時間: 2016-09-04
上傳用戶:lanjisu111
--author: Suntion Tang --date: 2008-6-7 -- two warning --modify: By Suntion Tang at 2008-6-14 --DESCRIPTION: 頂層文件,由于此系統簡單, -- 且底層文件不多,故放棄原理圖描述,采用VHDL語言描述
上傳時間: 2013-12-09
上傳用戶:rocketrevenge
UIT - Secteur de la normalisation des télécommunications ITU - Telecommunication Standardization Sector UIT - Sector de Normalización de las Telecomunicaciones Study Period 1997-2000 Commission d études Study Group Comisión de Estudio 16 Contribution tardive Delayed Contribution Contribución tardía D.xxx Geneva, 7-18 February 2000 Texte disponible seulement en Text available only in Texto disponible solamente en E Question(s): Q.15/SG16 SOURCE*: Nokia Inc. / Nokia Research Center 6000 Connection Drive Irving, Texas 75039 USA Tel : +12147976155 Fax : +19728944589 e-mail : marta.karczewicz@nokia.com TITLE: MVC Decoder DESCRIPTION
標簽: Telecommunication Standardization communications normalisation
上傳時間: 2013-12-24
上傳用戶:541657925