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 578340b commit 1e134b7Copy full SHA for 1e134b7
15/3.py
@@ -7,8 +7,8 @@
7
array.append(int(input()))
8
array.sort() # 이진 탐색 수행을 위해 정렬 수행
9
10
-start = 1 # 가능한 최소 거리 차이(min gap)
11
-end = array[-1] - array[0] # 가능한 최대 거리 차이(max gap)
+start = 1 # 가능한 최소 거리(min gap)
+end = array[-1] - array[0] # 가능한 최대 거리(max gap)
12
result = 0
13
14
while(start <= end):
0 commit comments