Skip to content

Commit a4c2466

Browse files
committed
90차 2번 문제 풀이
1 parent d28fc0b commit a4c2466

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

live8/test90/문제2/박희경.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import sys
2+
from itertools import *
3+
4+
input = sys.stdin.readline
5+
6+
n, m = map(int, input().split())
7+
arr = list(i for i in range(1, n + 1))
8+
9+
for comb in combinations(arr, m):
10+
print(*comb)

0 commit comments

Comments
 (0)