Skip to content

Commit de2dc13

Browse files
committed
[20251107] PGM / LV2 / 소수 찾기 / 김민진
1 parent 561cfd4 commit de2dc13

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

zinnnn37/202511/7 PGM LV2 소수 찾기.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class PGM_LV2_소수_찾기 {
5050

5151
int curNum = num.charAt(i) - '0';
5252

53-
if (curNum == 0 && depth == 0) continue;
54-
5553
visited[i] = true;
5654
dfs(depth + 1, start + 1, candidate * 10 + curNum);
5755
visited[i] = false;

0 commit comments

Comments
 (0)