10 人解决,26 人已尝试。
13 份提交通过,共有 85 份提交。
7.4 EMB 奖励。
单点时限: 5.0 sec
内存限制: 256 MB
The organizers of the TV Show “Key to Success” are preparing a set of prizes for the winner of the game.
If the score of the winner is
The organizers have a couple of spare prizes from the previous competitions that have values
For example, if they already have prizes for 2, 3 and 9 dollars, and they want to buy 2 prizes, they should buy prizes for 1 and 7 dollars. Then the winner of the show would be able to collect prizes for any score from 1 to 22.
The first line of the input file contains two integer numbers:
Output
3 2 2 3 9
1 7
10 人解决,26 人已尝试。
13 份提交通过,共有 85 份提交。
7.4 EMB 奖励。