摘要:
Petya is having a party soon, and he has decided to invite his nn friends.He wants to make invitations in the form of origami. For eac... 阅读全文
posted @ 2018-11-24 17:02
black_hole6
阅读(108)
评论(0)
推荐(0)
摘要:
要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973) = 1)。Input数据的第一行是一个T,表示有T组数据。 每组数据有两个数n(0 #include#include#includeint m... 阅读全文
posted @ 2018-11-24 12:13
black_hole6
阅读(168)
评论(0)
推荐(0)
摘要:
算术基本定理,又称为正整数的唯一分解定理,即:每个大于1的自然数,若不是本身就是质数,就是可写为2个以上的质数的积,而且这些质因子按大小排列之后,写法仅有一种方式。例如:{\displaystyle 6936=2^{3}\times 3\times 17^{2}},{... 阅读全文
posted @ 2018-11-24 10:04
black_hole6
阅读(1803)
评论(0)
推荐(0)

浙公网安备 33010602011771号