提交时间:2023-08-25 08:37:32
运行 ID: 100194
from itertools import combinations as c m,n = map(int,input().split(' ')) lt = list(c([_ for _ in range(1,m+1)],n)) for i in lt: print(*[_ for _ in i],sep = '')