We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1459cf3 commit 0cbfb4bCopy full SHA for 0cbfb4b
15/3.java
@@ -17,8 +17,8 @@ public static void main(String[] args) {
17
// 이진 탐색을 위해 정렬 수행
18
Collections.sort(arr);
19
20
- int start = 1; // 가능한 최소 거리 차이(min gap)
21
- int end = arr.get(n - 1) - arr.get(0); // 가능한 최대 거리 차이(max gap)
+ int start = 1; // 가능한 최소 거리(min gap)
+ int end = arr.get(n - 1) - arr.get(0); // 가능한 최대 거리(max gap)
22
int result = 0;
23
24
while (start <= end) {
0 commit comments