POJ 3641 Pseudoprime numbers
摘要:
Pseudoprime numbersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 4864Accepted: 1872DescriptionFermat's theorem states that for any prime number p and for any integer a > 1, ap = a (mod p). That is, if we raise a to the pth power and divide by p, the remainder is a. Some (but not ve 阅读全文
posted @ 2012-07-06 19:54
江财小子
阅读(264)
评论(0)
推荐(0)
浙公网安备 33010602011771号