其他分享
首页 > 其他分享> > Children‘s Apples(http://noi.openjudge.cn/english/14/)

Children‘s Apples(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(小于等与10)sum(小于等与10000)

输出:

一行N个整数

标签:integers,http,cn,positive,sum,numbers,正整数,children,14
来源: https://blog.csdn.net/ice23378/article/details/122770239