版本比较
+1 −1增加 1 行删除 1 行
138 行未改动全部展开139140141142143143144145146147181 行未改动全部展开138 行未改动全部展开$$O(\frac{n^2}{B}+(\frac{n}{B})^3)$$ 当 当 $$\frac{n^2}{B}=(\frac{n}{B})^3,B=n^{0.5}$$ 时有最优时间复杂度181 行未改动全部展开