Files
hsa/cake/binary_search/binarySearch.py
CakeCN 4198ca63b1 init
2024-12-03 16:21:19 +08:00

6 lines
99 B
Python

n = int(input())
array = list(map(int, input().split()))
q = int(input())
while q!=0:
q-=1