摘要: 高中数学数列方法做的,打表大法好,全程打表。 计算一段数的和,用S(n~m) = S(m) - S(n-1)做的。 #include using namespace std;const int maxn = 10001;bool isp[maxn];int cnt, p[2000], sum[2... 阅读全文
posted @ 2015-03-02 16:40 Popco 阅读(130) 评论(0) 推荐(0) 编辑