For solving the following problem: "There is No Free Lunch" Time Limit: 1 Second Memory Limit: 32768 KB One day, CYJJ found an interesting piece of commercial from newspaper: the Cyber-restaurant was offering a kind of "Lunch Special" which was said that one could "buy one get two for free". That is, if you buy one of the dishes on their menu, denoted by di with price pi , you may get the two neighboring dishes di-1 and di+1 for free! If you pick up d1, then you may get d2 and the last one dn for free, and if you choose the last one dn, you may get dn-1 and d1 for free. However, after investigation CYJJ realized that there was no free lunch at all. The price pi of the i-th dish was actually calculated by adding up twice the cost ci of the dish and half of the costs of the two "free" dishes. Now given all the prices on the menu, you are asked to help CYJJ find the cost of each of the dishes.
標(biāo)簽: Limit following solving problem
上傳時(shí)間: 2014-01-12
上傳用戶:362279997
Effective C++ Second Edition(中文版)傳說(shuō)中很牛的,對(duì)提高從c++編程能力很有提高
標(biāo)簽: Effective Edition Second
上傳時(shí)間: 2013-11-27
上傳用戶:xzt
Wiley - The Mobile Radio Propagation Channel - Second Edition
標(biāo)簽: Propagation Channel Edition Mobile
上傳時(shí)間: 2014-01-17
上傳用戶:zwei41
The third-generation mobile communication system standards
標(biāo)簽: third-generation communication standards mobile
上傳時(shí)間: 2016-11-25
上傳用戶:Amygdala
High Performance MySQL SECOND EDITION 一本英文原版的Mysql數(shù)據(jù)庫(kù)優(yōu)化性能的書(shū)籍,PDF第二版的,很清晰,非常不錯(cuò)!
標(biāo)簽: Performance EDITION SECOND MySQL
上傳時(shí)間: 2016-12-07
上傳用戶:金宜
The TMS320LF240xA and TMS320LC240xA devices, new members of the TMS320C24x generation of digital signal processor (DSP) controllers, are part of the TMS320C2000 platform of fixed-point DSPs. The 240xA devices offer the enhanced TMS320 DSP architectural design of the C2xx core CPU for low-cost, low-power, and high-performance processing capabilities. Several advanced peripherals, optimized for digital motor and motion control applications, have been integrated to provide a true single-chip DSP controller. While code-compatible with the existing C24x DSP controller devices, the 240xA offers increased processing performance (40 MIPS) and a higher level of peripheral integration. See the TMS320x240xA Device Summary section for device-specific features.
標(biāo)簽: TMS 320 generation 240
上傳時(shí)間: 2013-12-16
上傳用戶:GavinNeko
The XC226x derivatives are high-performance members of the Infineon XC2000 Family of full-feature single-chip CMOS microcontrollers. These devices extend the functionality and performance of the C166 Family in terms of instructions (MAC unit), peripherals, and speed. They combine high CPU performance (up to 80 million instructions per second) with extended peripheral functionality and enhanced IO capabilities. Optimized peripherals can be adapted flexibly to meet the application requirements. These derivatives utilize clock generation via PLL and internal or external clock sources. Onchip memory modules include program Flash, program RAM, and data RAM.
標(biāo)簽: high-performance full-feature derivatives Infineon
上傳時(shí)間: 2016-12-12
上傳用戶:wab1981
英文書(shū)《Fast Fourier Transforms, Second Edition》附帶的MATLAB實(shí)例
標(biāo)簽: Transforms Edition Fourier Second
上傳時(shí)間: 2016-12-20
上傳用戶:iswlkje
英文書(shū)《The Finite Element Method Using MATLAB, Second Edition》附帶實(shí)例
標(biāo)簽: Element Edition Finite Method
上傳時(shí)間: 2016-12-20
上傳用戶:515414293
Software Architecture in Practice, Second Edition By Len Bass, Paul Clements, Rick Kazman Publisher : Addison Wesley Pub Date : April 11, 2003 ISBN : 0-321-15495-9 Pages : 560
標(biāo)簽: Architecture Software Practice Clements
上傳時(shí)間: 2013-12-26
上傳用戶:eclipse
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1