Skip to content

Commit e0930b3

Browse files
committed
[Gold III] Title: 주사위 굴리기 2, Time: 116 ms, Memory: 15256 KB -BaekjoonHub
1 parent b1fa74d commit e0930b3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

백준/Gold/23288. 주사위 굴리기 2/README.md

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

55
### 성능 요약
66

7-
메모리: 15396 KB, 시간: 116 ms
7+
메모리: 15256 KB, 시간: 116 ms
88

99
### 분류
1010

1111
구현, 그래프 이론, 그래프 탐색, 시뮬레이션, 너비 우선 탐색
1212

1313
### 제출 일자
1414

15-
2025년 11월 26일 09:36:23
15+
2025년 11월 26일 09:38:00
1616

1717
### 문제 설명
1818

백준/Gold/23288. 주사위 굴리기 2/주사위 굴리기 2.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ private static int getScore(int y, int x) {
125125
return n * dp[y][x];
126126
int c = dfs(y, x, n);
127127

128+
V = new boolean[N][M];
129+
V[y][x] = true;
128130
setDP(y, x, n, c);
129131
return n * c;
130132
}

0 commit comments

Comments
 (0)