给定 $n$ 个数,对每个数 $a$ 求出一对正整数 $x,y$ 满足 $x|a,y|a,\gcd(x+y,a)=1$。
$n\le 5\times 10^5,a\le 10^7$
给定 $n,m$,求下列方程组有几组正整数解,我们认为无解为 $0$ 组解。
本题单个数据点含多组数据。
$1\le T\le 10^5,1\le n,m\le 10^{7}$
LCuter
有问题联系 QQ 494732835
Posts
69
Categories
24
Tags
53
CodeForces
SCOI
AtCoder
Update your browser to view this website correctly. Update my browser now
×