We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3010594 commit 9d65e49Copy full SHA for 9d65e49
2 files changed
백준/Silver/15654. N과 M (5)/N과 M (5).py
@@ -2,8 +2,8 @@
2
3
N, M = map(int, input().split())
4
nums = list(map(int, input().split()))
5
+nums.sort()
6
7
A = list(permutations(nums, M))
-A.sort()
8
9
for i in A: print(*i)
백준/Silver/15654. N과 M (5)/README.md
@@ -4,15 +4,15 @@
### 성능 요약
-메모리: 116500 KB, 시간: 168 ms
+메모리: 116496 KB, 시간: 152 ms
### 분류
10
11
백트래킹
12
13
### 제출 일자
14
15
-2025년 4월 1일 14:28:24
+2025년 4월 1일 14:30:02
16
17
### 문제 설명
18
0 commit comments