Problem Description
Loading...
Problem Analysis
Given several numbers
ask whether sums of them can form any natural number
The problem states:
- each number can be used infinitely many times
- you cannot use none of them (to make 0)
0 is a natural number
so we know
the numbers must include 0 and 1
to be able to form all natural numbers
-.- Seems BC argued for a long time over the meaning of the statement
cpp
| |
Problem link: HDU 5665 Lucky