OpenJudge - 14:Children's Apples
描述
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个数