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 1e134b7 commit 1459cf3Copy full SHA for 1459cf3
15/3.cpp
@@ -18,8 +18,8 @@ int main() {
18
// 이진 탐색 수행을 위해 정렬 수행
19
sort(arr.begin(), arr.end());
20
21
- int start = 1; // 가능한 최소 거리 차이(min gap)
22
- int end = arr[n - 1] - arr[0]; // 가능한 최대 거리 차이(max gap)
+ int start = 1; // 가능한 최소 거리(min gap)
+ int end = arr[n - 1] - arr[0]; // 가능한 최대 거리(max gap)
23
int result = 0;
24
25
while (start <= end) {
0 commit comments