Preparing NOJ

Children's Apples

1000ms 65536K

Description:

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.

Input:

Two positive integers N (N <= 10) and the sum (sum <= 10000).

Output:

One line contains N integers.

Sample Input:

5 24

Sample Output:

2 4 5 6 7

Info

NOIOPEN

Provider NOIOPEN

Origin 简单英文题

Code NOIOPJENGLISH14

Tags

Submitted 0

Passed 0

AC Rate 0%

Date 08/15/2021 18:56:22

Related

Nothing Yet