Skip to content

Commit 08d196a

Browse files
committed
[level 1] Title: 체육복, Time: 0.02 ms, Memory: 11.5 MB -BaekjoonHub
1 parent f34b505 commit 08d196a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

프로그래머스/1/42862. 체육복/README.md

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

55
### 성능 요약
66

7-
메모리: 9.29 MB, 시간: 0.02 ms
7+
메모리: 11.5 MB, 시간: 0.02 ms
88

99
### 구분
1010

@@ -16,7 +16,7 @@
1616

1717
### 제출 일자
1818

19-
2025년 04월 21일 13:41:49
19+
2026년 07월 01일 08:11:26
2020

2121
### 문제 설명
2222

프로그래머스/1/42862. 체육복/체육복.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ def solution(n, lost, reserve):
66
if i in lost:
77
reserve.remove(i)
88
lost.remove(i)
9-
9+
1010
for i in reserve:
1111
if i-1 in lost:
1212
lost.remove(i-1)
1313
elif i+1 in lost:
1414
lost.remove(i+1)
15-
15+
1616
return n - len(lost)

0 commit comments

Comments
 (0)