摘要: "1238 最小公倍数之和 V3" 三种做法!!! 见 "学习笔记" ,这里只贴代码 1. cpp include include include include include using namespace std; typedef long long ll; const int N = 464 阅读全文
posted @ 2017-04-15 20:28 Candy? 阅读(255) 评论(0) 推荐(0) 编辑
摘要: "SPOJ DIVCNT2 Counting Divisors (square)" 题意:求 $$ \sum_{i=1}^n\sigma_0(i^2) $$ 好棒啊! 带着平方没法做,考虑用其他函数表示$\sigma_0(i^2)$,把平方消去。 $\sigma_0(n) = (1 1)(n) = 阅读全文
posted @ 2017-04-15 17:46 Candy? 阅读(966) 评论(0) 推荐(0) 编辑