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