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. )
上傳時(shí)間: 2014-01-07
上傳用戶:離殤
Example of Embedded Zerotree Wavelet encoding in ANSI-C
標(biāo)簽: Embedded Zerotree encoding Example
上傳時(shí)間: 2015-01-24
上傳用戶:爺?shù)臍赓|(zhì)
Dialer ---- Windows TAPI sample application created as an illustration of the usage of Windows TAPI
標(biāo)簽: Windows TAPI illustration application
上傳時(shí)間: 2015-01-26
上傳用戶:lizhen9880
read the network addresses from a named Directory Services object and display all parts of the address.
標(biāo)簽: addresses Directory the Services
上傳時(shí)間: 2013-12-13
上傳用戶:nanxia
a zipped example of communication between the Cerebellum 16f877 pic board and the CMUcam. There are plenty of comments in the code.
標(biāo)簽: communication Cerebellum the example
上傳時(shí)間: 2013-12-16
上傳用戶:1159797854
Tutorial for Vb .Net for Encryption/Decryption of data
標(biāo)簽: Encryption Decryption for Tutorial
上傳時(shí)間: 2014-01-21
上傳用戶:trepb001
C++ implementation of LZSS
標(biāo)簽: implementation LZSS of
上傳時(shí)間: 2014-01-15
上傳用戶:愛死愛死
This program can determin very accurately the nature of the user input
標(biāo)簽: accurately the determin program
上傳時(shí)間: 2015-01-28
上傳用戶:shinesyh
Some of the basic matrix operations
標(biāo)簽: operations matrix basic Some
上傳時(shí)間: 2014-12-05
上傳用戶:小寶愛考拉
The project demonstrates many Windows common controls, including the extensive use of image lists. The project was used in the book "The Revolutionary Guide To MFC 4 Programming With Visual C++", published by Wrox Press.
標(biāo)簽: demonstrates including extensive controls
上傳時(shí)間: 2015-01-30
上傳用戶:zhengjian
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1