Skip to content

Commit 0cbfb4b

Browse files
authored
Update 3.java
1 parent 1459cf3 commit 0cbfb4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

15/3.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public static void main(String[] args) {
1717
// 이진 탐색을 위해 정렬 수행
1818
Collections.sort(arr);
1919

20-
int start = 1; // 가능한 최소 거리 차이(min gap)
21-
int end = arr.get(n - 1) - arr.get(0); // 가능한 최대 거리 차이(max gap)
20+
int start = 1; // 가능한 최소 거리(min gap)
21+
int end = arr.get(n - 1) - arr.get(0); // 가능한 최대 거리(max gap)
2222
int result = 0;
2323

2424
while (start <= end) {

0 commit comments

Comments
 (0)