Aditya Mahajan wrote:
>> The first command-line argument to the program will be the number of 
>> adventures.
>> All other arguments are the numerical values of treasures found.  
>> You're program
>> should output a fair split of the treasures, if possible, or a 
>> warning message
>> if a fair split cannot be found.
>>
>> ...
> Can one assume that the treasure values are only integers?
I certainly hope so.