摘要: Description 有一张 n×m 的数表,其第 i 行第 j 列(1 using namespace std; define int unsigned int void read(int &x) { x=0;int f=1;char ch=getchar(); for(;!isdigit(ch 阅读全文
posted @ 2018-12-03 20:31 Hyscere 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Description 对于正整数n,定义f(n)为n所含质因子的最大幂指数。例如f(1960)=f(2^3 5^1 7^2)=3, f(10007)=1, f(1)=0。 给定正整数a,b,求sigma(sigma(f(gcd(i,j)))) (i=1..a, j=1..b)。 Input 第一行 阅读全文
posted @ 2018-12-03 16:40 Hyscere 阅读(263) 评论(0) 推荐(0) 编辑