Commit 7f24b182 by BellCodeEditor

save project

parent 98fd8ce8
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ low=0 ...@@ -4,7 +4,7 @@ low=0
high=len(num_list)-1 high=len(num_list)-1
while low<=high: while low<=high:
mid=(high+low)//2 mid=(high+low)//2
if num_list[mid]==20 if num_list[mid]==20:
print(mid) print(mid)
break break
elif num_list[mid]<20: elif num_list[mid]<20:
......
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