Skip to content

Commit bbd9519

Browse files
committed
[Gold IV] Title: 스도쿠, Time: 272 ms, Memory: 16496 KB -BaekjoonHub
1 parent a994351 commit bbd9519

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

백준/Gold/2239. 스도쿠/README.md

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

55
### 성능 요약
66

7-
메모리: 16440 KB, 시간: 284 ms
7+
메모리: 16496 KB, 시간: 272 ms
88

99
### 분류
1010

1111
구현, 백트래킹
1212

1313
### 제출 일자
1414

15-
2025년 10월 29일 22:57:46
15+
2025년 10월 29일 23:02:24
1616

1717
### 문제 설명
1818

백준/Gold/2239. 스도쿠/스도쿠.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static boolean dfs(int k) {
3030
box[b] |= bit;
3131

3232
if (dfs(k + 1)) return true;
33-
33+
3434
row[r] ^= bit;
3535
col[c] ^= bit;
3636
box[b] ^= bit;
@@ -63,7 +63,9 @@ public static void main(String[] args) throws IOException {
6363

6464
StringBuilder sb = new StringBuilder();
6565
for (int i = 0; i < 9; i++) {
66-
for (int j = 0; j < 9; j++) sb.append(a[i][j]);
66+
for (int j = 0; j < 9; j++) {
67+
sb.append(a[i][j]);
68+
}
6769
sb.append('\n');
6870
}
6971
System.out.print(sb.toString());

0 commit comments

Comments
 (0)