#15663번 N과M (9) https://www.acmicpc.net/problem/15663 15663번: N과 M (9) 한 줄에 하나씩 문제의 조건을 만족하는 수열을 출력한다. 중복되는 수열을 여러 번 출력하면 안되며, 각 수열은 공백으로 구분해서 출력해야 한다. 수열은 사전 순으로 증가하는 순서로 출력해 www.acmicpc.net 비슷한 유형의 문제를 연달아 풀고 있는 중이다. N, M = map(int, input().split()) nums = sorted(list(map(int, input().split()))) output = [] visited = [False]*N def solve(depth, n, m): if depth == m: r = ' '.join(map(str, output..