Commit ee1b191b by BellCodeEditor

auto save

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