Commit cfcb3c67 by BellCodeEditor

save project

parent 0cdfd48c
Showing with 1 additions and 1 deletions
...@@ -5,7 +5,7 @@ l=0 ...@@ -5,7 +5,7 @@ l=0
h=len(nlist)-1 h=len(nlist)-1
while l<=h: while l<=h:
m=(l+h)// m=(l+h)//2
g=nlist[m] g=nlist[m]
if g == b: if g == b:
print("找到了,索引值是",m) print("找到了,索引值是",m)
......
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