正文
增加 1 行删除 1 行
288 行未改动全部展开289290291292293294295296297152 行未改动全部展开288 行未改动全部展开> Python:```pythondef find_kth(k):p,step=0,(log2(m))>>1while step>0:if p+step<=m and tree[p+step]<k:k-=tree[p+step]p+=step152 行未改动全部展开288 行未改动全部展开289290291292293294295296297152 行未改动全部展开288 行未改动全部展开> Python:```pythondef find_kth(k):p,step=0,int(log2(m))>>1while step>0:if p+step<=m and tree[p+step]<k:k-=tree[p+step]p+=step152 行未改动全部展开