Problem F:汽車加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language: not limited Description 一輛汽車加滿油后可行駛n公里。旅途中有若干個加油站。設(shè)計一個有效算法,指出應(yīng)在哪些加油站停靠加油,使沿途加油次數(shù)最少。 編程任務(wù): 對于給定的n和k(k <= 10000)個加油站位置,編程計算最少加油次數(shù)。 Input 第一行有2 個正整數(shù)n和k,表示汽車加滿油后可行駛n公里,且旅途中有k個加油站。接下來的1 行中,有k+1 個整數(shù),表示第k個加油站與第 k-1 個加油站之間的距離。第0 個加油站表示出發(fā)地,汽車已加滿油。第k+1 個加油站表示目的地。 Output 輸出最少加油次數(shù)。如果無法到達目的地,則輸出”No Solution”。 Sample Input 7 7 1 2 3 4 5 1 6 6 Sample Output 4
標(biāo)簽: Limit Accepted Language Problem
上傳時間: 2016-04-12
上傳用戶:youth25
Fast settling-time added to the already conflicting requirements of narrow channel spacing and low phase noise lead to Fractional4 divider techniques for PLL synthesizers. We analyze discrete "beat-note spurious levels from arbitrary modulus divide sequences including those from classic accumulator methods.
標(biāo)簽: settling-time requirements conflicting already
上傳時間: 2016-04-14
上傳用戶:liansi
ET++ is a portable and homogenous object-oriented class library integrating user interface building blocks, basic data structures, and high level application framework components. ET++ eases the building of highly interactive applications with consistent user interfaces following the direct manipulation principle. The ET++ class library is implemented in C++ and can be used on several operating systems and window system platforms. Since its initial conception the class library has been continuously redesigned and improved. It started with an architecture which was close to MacApp. During several iterations a new and unique architecture evolved. A byproduct of the ET++ project is a set of tools, which were designed to support the exploration of ET++ applications at run-time. 設(shè)計模式一書引用的主要參考例程,一個跨平臺的應(yīng)用框架,基于C++實現(xiàn),是學(xué)習(xí)面向?qū)ο蟮慕?jīng)典源碼.
標(biāo)簽: object-oriented integrating homogenous interface
上傳時間: 2016-04-15
上傳用戶:tedo811
Discrete Fourier Transform and Power Spectrum Calculates Power Spectrum from a Time Series
標(biāo)簽: Spectrum Power Calculates Transform
上傳時間: 2014-01-21
上傳用戶:woshini123456
window桌面應(yīng)用程序,101個例子。
標(biāo)簽: window 應(yīng)用程序
上傳時間: 2013-12-04
上傳用戶:ljmwh2000
創(chuàng)建window進程,CreateProcess的詳細(xì)用法。
上傳時間: 2016-04-22
上傳用戶:小碼農(nóng)lz
Real Time OS 教學(xué)資料
上傳時間: 2016-04-25
上傳用戶:ryb
Develop Zigbee network real-time Os
標(biāo)簽: real-time Develop network Zigbee
上傳時間: 2014-11-27
上傳用戶:whenfly
Window正版驗證破解補丁,可以將Windows盜版改為正版,很不錯的哦
上傳時間: 2016-04-30
上傳用戶:lizhen9880
A Novel Coded Layered Space-Time- Frequency Architecture: Convolutional Codes
標(biāo)簽: Convolutional Architecture Space-Time Frequency
上傳時間: 2014-01-21
上傳用戶:zsjzc
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1