摘要:
The electron is described in terms of its probability distribution or probability density. This probability distribution does not have definite cutoff points; its edges are somewhat fuzzy. Hence the term "electron cloud." This cloudy probability distribution takes on different shapes, depe 阅读全文
摘要:
大意是输入a,b;求出有多少对数p,q满足GCD(p,q) =a;LCM(p,q) =b。输出对数。思路是令x=lcm/gcd(如果lcm不能被整除,则输出0);然后再将x素因子分解,判断x有k个互异的素因子,对数为2^k。代码如下:#include"stdio.h"#include"math.h"int main(){int a,b;while(scanf("%d%d",&a,&b)!=EOF){ if(b%a!=0){printf("0\n");continue;}int n=0,ans=1;b 阅读全文