[백준 BOJ 15640 /
N 및 M1 문제와 거의 동일합니다. https://khanwol.9 bf(m)이 출력될 때 나타나는 결과에서 오름차순이 아닌 것은 제외된다. import sys def bf(m): global n if m == 1: return list(range(1, n+1)) result = () for i in bf(m-1): copy_n_list = list(range(1, n+1)) if type(i) == int: i = (i) if type(i) == list: copy_n_list = list(set(copy_n_list) – … Read more