题意:
给你两个数,p和a;满足两个条件: 1.p不是素数; 2.apa^{p}ap %pa; 满足则输出yes,反之输出no。
题目:
Fermat’s theorem states that for any prime number p and for any integer a &g…
题意:
给你n个红球和m个蓝色球。然后以相等的概率随机选择了其中两个。选择两个红球的概率是多少?
题目:
Welcome to the CCPC Qinhuangdao Site!
Qinhuangdao is a beautiful coastal city full of charm, integrating historical herit…