摘要: 题目链接:http://www.51nod.com/Challenge/Problem.html#!#problemId=1238 题意:求$\sum_{i=1}^{n}\sum_{j=1}^{n}lcm(i,j)=\sum_{i=1}^{n}\sum_{j=1}^{n}{\frac{i*j}{gc 阅读全文
posted @ 2019-04-24 16:30 灬从此以后灬 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 题目链接http://www.51nod.com/Challenge/Problem.html#!#problemId=1237 题意:求$\sum_{i=1}^{n}\sum_{j=1}^{n}gcd(i,j)$ ,$1\leq{n}\leq10^{10}$. 知识提要:$n=\sum_{d|n} 阅读全文
posted @ 2019-04-24 15:47 灬从此以后灬 阅读(210) 评论(0) 推荐(0) 编辑