Commit c360dacd by BellCodeEditor

save project

parent 74bbfa37
Showing with 1 additions and 1 deletions
......@@ -12,7 +12,7 @@ def binary_search(alist,num):
while minIndex<=maxIndex:
mid=(minIndex+minIndex)//2
if alist[mid]==num
if alist[mid]==num:
return mid
elif alist[mid]>mid:
maxIndex=mid-1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment