Input The input contains blocks of 2 lines. The first line contains the number of sticks parts after cutting, there are at most 64 sticks. The second line contains the lengths of those parts separated by the space. The last line of the file contains zero. Output The output should contains the smallest possible length of original sticks, one per line. Sample Input 9 5 2 1 5 2 1 5 2 1 4 1 2 3 4 0 Sample Output 6 5
标签: contains The blocks number
上传时间: 2015-10-27
上传用户:lepoke
CORDIC (Coordinate Rotation Digital Computer) is a method for computing elementary functions using minimal hardware such as shifts, adds/subs and compares. CORDIC works by rotating the coordinate system through constant angles until the angle is reduces to zero. The angle offsets are selected such that the operations on X and Y are only shifts and adds.
标签: Coordinate elementary computing functions
上传时间: 2015-11-08
上传用户:saharawalker
This a USB core stack for the built-in USB device of LPC214x microcontrollers. It handles the hardware interface and USB enumeration/configuration. Also included are application examples like a USB joystick HID and USB serial port emulation.
标签: microcontrollers USB the built-in
上传时间: 2015-11-14
上传用户:talenthn
J2ME 是SUN 公司针对嵌入式、消费类 电子产品推出的开发平台,与J2SE 和J2EE 共同组成Java 技术的三个重要的分支。J2ME 实际 上是一系列规范的集合,由JCP 组织制定相关的Java Specification Request(JSR)并发布,各 个厂商会按照规范在自己的产品上进行实现,但是必须要通过TCK 测试,这样确保兼容性。比 如MIDP2.0 规范就是在JSR118 中制定的。可能接触过J2ME 的开发者会觉得说J2ME 是一系列 的规范不准确吧。因为我们在开发中用到了很多例如CLDC(Connected Limited Devices Configuration)和MIDP(Mobile Information Devices Profile)等内容。
上传时间: 2015-11-20
上传用户:sardinescn
This book was written to provide a single reference for network administration in a Linux environment. Beginners and experienced users alike should find the information they need to cover nearly all important administration activities required to manage a Linux network configuration.
标签: administration environmen reference provide
上传时间: 2013-12-20
上传用户:225588
BlueCore supports a mechanism called Device Firmware Upgrade (DFU) to enable its software and configuration data to be replaced. To guard against unauthorised changes, downloaded files can be verified by means of signatures. The DFU Tools are a suite of programs that enable firmware and persistent store files to be signed and combined to form DFU files.
标签: mechanism BlueCore supports Firmware
上传时间: 2015-12-04
上传用户:manking0408
The development of a data acquisition card based on USB bus is introduced in this article.It first describes the configuration and principle of this card in the part of hardware design,and then the application program and device driver in the part of software design.Data acquisition program in firmware is also discussed.Finally,this data acquisition card is tested and evaluated in a program developed by Lab Windows CVI,which shows that this car is stable and reliable
标签: development acquisition introduced article
上传时间: 2015-12-07
上传用户:lijianyu172
Abstract: By using gateway systems on large 32-bit platforms, networks of small, 8- and 16-bit microcontrollers can be monitored and controlled over the Internet. With embedded Linux, these gateways are easily moved from full-blown host PCs to embedded platforms like the PC104. In this class you will learn about hardware platforms that support embedded Linux, Linux kernel configuration, feature selection, installation, booting and tuning.
标签: bit platforms Abstract networks
上传时间: 2014-01-05
上传用户:kytqcool
The Microsoft® Cryptographic Application Programming Interface (CryptoAPI) provides services that enable application developers to add authentication, encoding, and encryption to their Microsoft Win32® -based applications. Application developers can use the functions in the CryptoAPI without knowing anything about the underlying implementation, in much the same way as they can use a graphics library without knowing anything about the particular graphics hardware configuration.
标签: Cryptographic Application Programming Microsoft
上传时间: 2013-12-27
上传用户:pinksun9
UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard. UC Library Builtin functions: Most of these are standard C functions, but there are a few unique to the UnderC system which give you runtime access to the compiler. You may evaluate expressions, execute commands, compile code, etc. * Expands the text in expr using the UnderC preprocessor, putting the result into buff. void uc_macro_subst(const char* expr, char* buff, int buffsize) * Executes a UC #-command, like #l or #help. uc_cmd() expects the name of the command, _without_ the hash, e.g. uc_cmd("l fred.cpp") or uc_cmd("help"). void uc_cmd(const char* cmd) * Evaluates any C++ expression or statement will return non-zero if unsuccessful.
标签: implementation Extensions libraries standard
上传时间: 2013-12-14
上传用户:leehom61