11279: 2010年中兴面试题
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:0
Description
输入两个整数 n 和 m
从数列1,2,3.......n 中 随意取几个数,使其和等于 m
要求将其中所有的可能组合列出来
(每个数后面输出一个空格)
Sample Input Copy
5 6
Sample Output Copy
2 4
1 5
1 2 3