Skip to content

Commit 9d65e49

Browse files
committed
[Silver III] Title: N과 M (5), Time: 152 ms, Memory: 116496 KB -BaekjoonHub
1 parent 3010594 commit 9d65e49

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

백준/Silver/15654. N과 M (5)/N과 M (5).py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
N, M = map(int, input().split())
44
nums = list(map(int, input().split()))
5+
nums.sort()
56

67
A = list(permutations(nums, M))
7-
A.sort()
88

99
for i in A: print(*i)

백준/Silver/15654. N과 M (5)/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
### 성능 요약
66

7-
메모리: 116500 KB, 시간: 168 ms
7+
메모리: 116496 KB, 시간: 152 ms
88

99
### 분류
1010

1111
백트래킹
1212

1313
### 제출 일자
1414

15-
2025년 4월 1일 14:28:24
15+
2025년 4월 1일 14:30:02
1616

1717
### 문제 설명
1818

0 commit comments

Comments
 (0)