Commit 6e08fda1 by BellCodeEditor

save project

parent 81eebf8a
Showing with 2 additions and 2 deletions
......@@ -8,9 +8,9 @@ while True:
if num_list[mid] == flag:
print("中了!!是第"+str(mid)+"数")
break
elif minIndex[mid] > flag:
elif num_list[mid] > flag:
minIndex = mid-1
elif minIndex[mid] < flag:
elif num_list[mid] < flag:
minIndex = mid+1
else:
print("nofoumd!!")
......
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