Skip to content

Commit d2184b0

Browse files
committed
[level 2] Title: 타겟 넘버, Time: 378.77 ms, Memory: 10.3 MB -BaekjoonHub
1 parent 78d8b57 commit d2184b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

프로그래머스/2/43165. 타겟 넘버/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# [level 2] 타겟 넘버 - 43165
22

3-
[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/43165#qna)
3+
[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/43165)
44

55
### 성능 요약
66

7-
메모리: 10.3 MB, 시간: 523.04 ms
7+
메모리: 10.3 MB, 시간: 378.77 ms
88

99
### 구분
1010

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

1717
### 제출 일자
1818

19-
2024년 09월 06일 11:28:48
19+
2025년 03월 07일 15:06:29
2020

2121
### 문제 설명
2222

프로그래머스/2/43165. 타겟 넘버/타겟 넘버.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ def solution(numbers, target):
44
def dfs(i, total):
55
global ans
66
if (i == len(numbers)):
7-
if total == target:
7+
if target == total:
88
ans += 1
99
return
1010
dfs(i+1, total + numbers[i])

0 commit comments

Comments
 (0)