摘要: total = 2 Hdu: 5944 (BestCoder Round #89 1001): 枚举等比数列的第一项和公比,可以优化复杂度到 $O(n*\sqrt{n})$。还是太naive了,写了从$O(n^2logn)$到 $O(n^2)$的一系列做法TLE到死去活来。 5955 (BestCo 阅读全文
posted @ 2016-10-30 11:43 Connor.Zhong 阅读(161) 评论(0) 推荐(0)