http://noi.openjudge.cn/english/14/
描述
There are N children. Each child has a positive number, and the numbers are different from each other. Given the sum of all numbers of children. Find a possible assignment.
输入
Two positive integers N (N <= 10) and the sum (sum <= 10000).
输出
One line contains N integers.
孩子们的苹果
描述:
有N个孩子,每个孩子都有一个正整数,且这些数字不同,给定所有孩子的数字之和,找到一个可能的分配。
输入:
两个正整数N和其和(N <= 10) (和 <= 10000)
输出:
一行包括N个整数。