摘要: def main(): arr= (5,2,1,83,491,3,45,21,56,235,61,36,13,4,643,123,64) list = [] for node in arr: end = len(list) start = 0 medium = end // 2 if 0 != end: while True: if node > list[medium]: start = medium + 1; ... 阅读全文
posted @ 2013-03-26 19:45 wsjisji 阅读(912) 评论(0) 推荐(0) 编辑