Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Data structs
Title: corsair Download
 Description: Group of pirates after the robbery of a merchant ship, intercepted a total of N coins of varying weight. The pirates tried to split the gold by weight, but because of the gold indivisible, so they want to make sure these coins can add up to average to the number of pirates. Please write a program to determine the distribution plan. [Input] input contains two lines: the first acts of a positive integer N, the total number of said coins. The second line contains N positive integer, indicating the weight of N coins, separated by spaces. [Output] only a single line: contains a positive integer, said up to enter a given N coins can be divided equally among the number of pirates. [Sample input] [sample output] 4 2 1 2 3 4 [limit] 1 < = N < = 60 gold weight range of 1-50
 Downloaders recently: [More information of uploader dickwenters]
 To Search:
File list (Check if you may need any files):
corsair\corsair\corsair.cpp
.......\.......\corsair.vcxproj
.......\.......\corsair.vcxproj.filters
.......\.......\corsair.vcxproj.user
.......\.......\ReadMe.txt
.......\.......\..lease\CL.read.1.tlog
.......\.......\.......\CL.write.1.tlog
.......\.......\.......\corsair.exe.intermediate.manifest
.......\.......\.......\corsair.lastbuildstate
.......\.......\.......\corsair.log
.......\.......\.......\corsair.obj
.......\.......\.......\corsair.pch
.......\.......\.......\link.read.1.tlog
.......\.......\.......\link.write.1.tlog
.......\.......\.......\mt.read.1.tlog
.......\.......\.......\mt.write.1.tlog
.......\.......\.......\stdafx.obj
.......\.......\.......\vc100.pdb
.......\.......\stdafx.cpp
.......\.......\stdafx.h
.......\.......\targetver.h
.......\corsair.sdf
.......\corsair.sln
.......\corsair.suo
.......\ipch\corsair-fa4c5a46\corsair-5513c6f9.ipch
.......\Release\corsair.exe
.......\.......\corsair.pdb
.......\corsair\Release
.......\ipch\corsair-fa4c5a46
.......\corsair
.......\ipch
.......\Release
corsair
    

CodeBus www.codebus.net