...
/Challenge: Maximum Number of Prizes
Challenge: Maximum Number of Prizes
Solve the Distinct Summands Problem.
We'll cover the following...
Problem
Distinct Summands Problem
Represent a positive integer as the sum of the maximum number of pairwise distinct positive integers.
Input: An integer .
Output: The maximum such that can be represented as the
sum ...