![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数论
箱@子
这个作者很懒,什么都没留下…
展开
-
POJ - 3518 D - Prime Gap
The sequence of n − 1 consecutive composite numbers (positive integers that are not prime and not equal to 1) lying between two successive prime numberspandp+nis called a prime gap of lengthn. ...原创 2020-02-13 21:42:13 · 151 阅读 · 0 评论 -
POJ - 1595 F - Prime Cuts
A prime number is a counting number (1, 2, 3, ...) that is evenly divisible only by 1 and itself. In this problem you are to write a program that will cut some number of prime numbers from the list of...原创 2020-02-13 21:40:25 · 115 阅读 · 0 评论 -
POJ - 1365 A - Prime Land
每个数都可以表示成若干个素数的相乘形式,现在给你一个数num的质数相乘的形式,请输出num-1的质数相乘形式。 例如 样例二:(5^1)*(2^1)=num=10 ,所以num-1=9=3^2 输出的质数pi 按降序输出InputThe input consists of lines (at least one) each of which except the last contains...原创 2020-02-09 21:06:28 · 113 阅读 · 0 评论