We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 561cfd4 commit de2dc13Copy full SHA for de2dc13
1 file changed
zinnnn37/202511/7 PGM LV2 소수 찾기.md
@@ -50,8 +50,6 @@ class PGM_LV2_소수_찾기 {
50
51
int curNum = num.charAt(i) - '0';
52
53
- if (curNum == 0 && depth == 0) continue;
54
-
55
visited[i] = true;
56
dfs(depth + 1, start + 1, candidate * 10 + curNum);
57
visited[i] = false;
0 commit comments