虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

sum-up

  • For solving the following problem: "There is No Free Lunch" Time Limit: 1 Second Memory Limit: 3

    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.

    标签: Limit following solving problem

    上传时间: 2014-01-12

    上传用户:362279997

  • DSR-UU is a DSR implementation that runs in Linux and in the ns-2 network simulator. DSR-UU imple

    DSR-UU is a DSR implementation that runs in Linux and in the ns-2 network simulator. DSR-UU implements most of the basic DSR features specified in the DSR draft (version 10). One big exception is flow extensions. DSR-UU does NOT use ARP, so do not be surprised if you do not see ARP traffic. DSR-UU instead uses its own neighbor table that sets up the MAC-to-IP translation during route discovery.

    标签: DSR-UU implementation simulator network

    上传时间: 2016-11-06

    上传用户:er1219

  • 引入PEG(Progressive-edge-growth)算法来构造适合线性时间编码的LDPC校验矩阵

    引入PEG(Progressive-edge-growth)算法来构造适合线性时间编码的LDPC校验矩阵,译码时采用简化最小和Min-Sum译码算法实现简化译码.仿真结果表明,该方法能够构造适合LDPC码的线性时间编码的下三角校验矩阵日,并且用此方法构造的LDPC码性能非常接近原来PEG算法构造的LDPC码.同时通过采用最小和Min-Sum算法降低译码复杂度.

    标签: Progressive-edge-growth LDPC PEG 算法

    上传时间: 2013-12-27

    上传用户:qlpqlq

  • This manual documents the interfaces of the libxml library and has some short notes to help get you

    This manual documents the interfaces of the libxml library and has some short notes to help get you up to speed with using the library. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided also that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.

    标签: interfaces documents the library

    上传时间: 2016-11-08

    上传用户:181992417

  • C 开发的有限元软件

    C 开发的有限元软件,界面还可以,不错,可以试试。 FElt is a free system for introductory level finite element analysis. It is primarily intended as a teaching tool for introductory type courses in finite elements - probably in the mechanical/structural/civil fields. In a command line environment, FElt uses an intuitive, straightforward input syntax to describe problems. It also includes a graphical user interface for workstations that allows the user to set-up, solve and post-process the problem in a single CAD-like environment.

    标签: 有限元 软件

    上传时间: 2014-03-09

    上传用户:zycidjl

  • * The keyboard is assumed to be a matrix having 4 rows by 6 columns. However, this code works for an

    * The keyboard is assumed to be a matrix having 4 rows by 6 columns. However, this code works for any * matrix arrangements up to an 8 x 8 matrix. By using from one to three of the column inputs, the driver * can support "SHIFT" keys. These keys are: SHIFT1, SHIFT2 and SHIFT3.

    标签: keyboard However assumed columns

    上传时间: 2016-11-14

    上传用户:ardager

  • AppWizard has created this port_dll DLL for you. This DLL not only demonstrates the basics of using

    AppWizard has created this port_dll DLL for you. This DLL not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your DLL. This file contains a summary of what you will find in each of the files that make up your port_dll DLL.

    标签: demonstrates AppWizard DLL port_dll

    上传时间: 2016-11-16

    上传用户:wanqunsheng

  • This toolbox was designed as a teaching aid, which matlab is particularly good for since source cod

    This toolbox was designed as a teaching aid, which matlab is particularly good for since source code is relatively legible and simple to modify. However, it is still reasonably fast if used with the supplied optimiser. However, if you really want to speed things up you should consider compiling the matrix composition routine for H into a mex function. Then again if you really want to speed things up you probably shouldn t be using matlab anyway... Get hold of a dedicated C program once you understand the algorithm.

    标签: particularly designed teaching toolbox

    上传时间: 2016-11-25

    上传用户:hustfanenze

  • 温度控制器V1.5 显示为三个共阳极LED 温度传感器用单总线DS18B20 CPU为2051

    温度控制器V1.5 显示为三个共阳极LED 温度传感器用单总线DS18B20 CPU为2051,四个按键,分别为UP,DOWN,SET 温度调节上限为125度,下限为-55度 只能用于单只18B20

    标签: 2051 1.5 LED 18B

    上传时间: 2016-11-28

    上传用户:2404

  • I often need a simple function generator. Just to generate a certain frequency. After all the years

    I often need a simple function generator. Just to generate a certain frequency. After all the years I ve worked with electronics, I still haven t got me one. Even though I need it now and then, I just couldn t seem to justify the cost of one. So, standard solution - build one yourself. I designed a simple sinewave generator based on a Analog Devices AD9832 chip. It will generate a sinewave from 0.005 to 12 MHz in 0.005 Hz steps. That s pretty good, and definitely good enough for me ! But while waiting for the AD9832 chip to arrive, I came up with a very simple version of the DDS synth, using just the 2313 and a resistor network.

    标签: frequency generator function generate

    上传时间: 2013-12-17

    上传用户:thesk123