Commit ee1b191b by BellCodeEditor

auto save

parent 829e251d
Showing with 9 additions and 4 deletions
......@@ -12,6 +12,12 @@ def bs(alist,n):
m=(l+h)//2
g=alist
if g ==n:
terurn
def bs(alist,n):
\ No newline at end of file
return m
elif g < b:
l = m+1
else: g > b:
h = m-1
return None
r = bs(alist,n)
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