1 parent be442d4 commit f4edbf1Copy full SHA for f4edbf1
2 files changed
프로그래머스/1/86051. 없는 숫자 더하기/README.md
@@ -4,7 +4,7 @@
4
5
### 성능 요약
6
7
-메모리: 11.5 MB, 시간: 0.01 ms
+메모리: 11.5 MB, 시간: 0.00 ms
8
9
### 구분
10
@@ -16,7 +16,7 @@
16
17
### 제출 일자
18
19
-2026년 07월 15일 11:29:18
+2026년 07월 15일 11:30:21
20
21
### 문제 설명
22
프로그래머스/1/86051. 없는 숫자 더하기/없는 숫자 더하기.py
@@ -1,4 +1,2 @@
1
def solution(numbers):
2
- num = set(numbers)
3
- nums = set([i for i in range(10)])
- return sum(nums - num)
+ return sum(range(10)) - sum(numbers)
0 commit comments