摘要: #encoding=utf-8import randomfrom copy import copy def directInsertSort(seq): """ 直接插入排序 """ size = len(seq) for i in range(1,size): t... 阅读全文
posted @ 2014-07-15 20:25 huangxiaohen 阅读(474) 评论(0) 推荐(0) 编辑
摘要: import sys class Stats: def __init__(self, sequence): # sequence of numbers we will process # convert all items to floats for numeri... 阅读全文
posted @ 2014-07-15 20:22 huangxiaohen 阅读(59050) 评论(1) 推荐(0) 编辑