SP137 PARTIT - Partition
Description
A _partition_ of positive integer m into n components is any sequence a $ _{1} $ ,...,a $ _{n} $ of positive integers such that a $ _{1} $ +...+a $ _{n} $ =m and a $ _{1} $
Input Format
The input begins with the integer t, the number of test cases. Then t test cases follow.
For each test case the input consists of three lines, containing the positive integers m, n and k respectively (1
Output Format
For each test case output the ordered elements of the sought partition, separated by spaces.