2020牛客暑期多校训练营Groundhog Chasing Death(质因数分解,费马小定理,模拟)
GroundhogChasingDeath题目描述样例input:121284output:2048input:1234120180output:235140177题目大意给定a,b,c,d,x,ya,b,c,d,x,ya,b,c,d,x,y,求:∏i=ab∏j=cdgcd(xi,yj)\mathop{\prod}\limits_{i=a}^{b}\mathop{\prod}\limits_{j