We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d28fc0b commit a4c2466Copy full SHA for a4c2466
live8/test90/문제2/박희경.py
@@ -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