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
上傳用戶:離殤
describle how to develop serial program in posix
標(biāo)簽: describle develop program serial
上傳時間: 2014-01-20
上傳用戶:VRMMO
MODBUS/TCP to RS-232/485 MODBUS/RTU gateway server
標(biāo)簽: MODBUS gateway server 232
上傳時間: 2015-01-25
上傳用戶:er1219
The TapiComm sample uses both the Telephony API and the Win32 Communications API to demonstrate one way to implement a very simple TTY application. While the user interface and TTY emulation are very rudimentary, the TAPI and comm modules are fairly complete.
標(biāo)簽: Communications demonstrate API Telephony
上傳時間: 2014-12-07
上傳用戶:chenxichenyue
demonstrate how to use the bulk endpoint pairing feature of the EZ-USB chip
標(biāo)簽: demonstrate the endpoint feature
上傳時間: 2014-01-18
上傳用戶:youmo81
The purpose of this code is to demonstrate how to utilize EZUSB FX GPIF interface.
標(biāo)簽: demonstrate interface purpose utilize
上傳時間: 2015-02-01
上傳用戶:tfyt
Filename: main.c * Description: A simple test program for the CRC implementations. * Notes: To test a different CRC standard, modify crc.h. * * * Copyright (c) 2000 by Michael Barr. This software is placed into * the public domain and may be used for any purpose. However, this * notice must not be changed or removed and no warranty is either * expressed or implied by its publication or distribution.
標(biāo)簽: test implementations Description Filename
上傳時間: 2015-02-02
上傳用戶:leehom61
pc to phone
上傳時間: 2013-12-20
上傳用戶:qlpqlq
Write 3270 Session Screen Output to A File
標(biāo)簽: Session Screen Output Write
上傳時間: 2014-08-30
上傳用戶:sssl
source codes for point to multi-point Bluetooth transaction in Symbian OS. A good beginning to learn Socket programming in Symbian OS.
標(biāo)簽: multi-point transaction Bluetooth beginning
上傳時間: 2014-01-09
上傳用戶:qweqweqwe
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1