Tug of War(A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one team or the other the number of people on the two teams must not differ by more than 1 the total weight of the people on each team should be as nearly equal as possible. The first line of input contains n the number of people at the picnic. n lines follow. The first line gives the weight of person 1 the second the weight of person 2 and so on. Each weight is an integer between 1 and 450. There are at most 100 people at the picnic. Your output will be a single line containing 2 numbers: the total weight of the people on one team, and the total weight of the people on the other team. If These numbers differ, give the lesser first. )
上传时间: 2014-01-07
上传用户:离殇
A windows BMP file is a common image format that Java does not handle. While BMP images are used only on windows machines, they are reasonably common. Reading These shows how to read complex structures in Java and how to alter they byte order from the big endian order used by Java to the little endian order used by the windows and the intel processor.
上传时间: 2013-12-27
上传用户:gaojiao1999
A document about audio,include Mp3 , Mp3Pro, AAC , AAC+ , EAAC+ , AMR , AMR-WB ,AMR-WB+ .It list detail information about this audio type.It is a guide to study These audio in advance
标签: AMR-WB AAC document include
上传时间: 2015-02-21
上传用户:lizhen9880
This a separate release of the OpenSS7 X/Open XTI/TLI library, TLI modules (timod, tirdwr) and the INET driver (inet) that provides Unix98 compatible interface to Linux NET4 TCP/IP stacks, and all the necessary manpages and other documentation. Although These components are contained in our LiS and Linux Fast-STREAMS releases, this tarball configures, builds and installs These components separate from those releases.
上传时间: 2015-03-12
上传用户:mikesering
WHAT MIME64 IS: MIME64 is an encoding described in RFC1341 as MIME base64.Its purpose is to encode binary files into ASCII so that they may be passedthrough e-mail gates. In this regard, MIME64 is similar to UUENCODE.Although most binaries These days are transmitted using UUENCODE, Ihave seen a few using MIME64, and I have had requests from friends thatI decode MIME64 files that have fallen into their hands. As long assome MIME64 continues to exist, a package such as this one is usefulto have.
标签: MIME described 64 encoding
上传时间: 2013-12-17
上传用户:maizezhen
In each step the LZSS algorithm sends either a character or a <position, length> pair. Among These, perhaps character "e" appears more frequently than "x", and a <position, length> pair of length 3 might be commoner than one of length 18, say. Thus, if we encode the more frequent in fewer bits and the less frequent in more bits, the total length of the encoded text will be diminished. This consideration suggests that we use Huffman or arithmetic coding, preferably of adaptive kind, along with LZSS.
标签: algorithm character position either
上传时间: 2014-01-27
上传用户:wang0123456789
This driver was developed using a USB keyboard from Cherry,as indicated by the VID and PID codes. These IDs must be set for the device you intend to support. Similarly, you will need to set Class to the appropriate string for your device class.
标签: developed indicated keyboard Cherry
上传时间: 2015-04-02
上传用户:nanxia
zlib 1.2.2 is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format). These documents are also available in other formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
标签: data compression general purpose
上传时间: 2013-12-09
上传用户:894898248
This book shows you how to write programs that run under Microsoft Windows 98, Microsoft Windows NT 4.0, and Windows NT 5.0. These programs are written in the C programming language and use the native Windows application programming interfaces (APIs). 学习SDK的经典书籍
标签: Microsoft Windows programs shows
上传时间: 2014-01-02
上传用户:saharawalker
VC技术内幕第五版_English.The 6.0 release of Visual C++ shows Microsoft s continued focus on Internet technologies and COM, which are key components of the new Windows Distributed interNet Application Architecture (DNA). In addition to supporting These platform initiatives, Visual C++ 6.0 also adds an amazing number of productivity-boosting features such as Edit And Continue, IntelliSense, AutoComplete, and code tips. These features take Visual C++ to a new level. We have tried to make sure that this book keeps you up to speed on the latest technologies being introduced into Visual C++.
标签: Microsoft continued Internet English
上传时间: 2013-12-08
上传用户:lepoke