Commit 586cea4a by BellCodeEditor

save project

parent 48938f44
Showing with 3 additions and 0 deletions
...@@ -13,3 +13,6 @@ for i in range(int(input("有几个数字"))): ...@@ -13,3 +13,6 @@ for i in range(int(input("有几个数字"))):
high=mid-1 high=mid-1
elif a>num_list[mid]: elif a>num_list[mid]:
low=mid+1 low=mid+1
if high<low:
print("找不到!")
break
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