阅读背景:

查找间隔之间的素数之和(C ++程序不适用于大数)

来源:互联网 

My code is below. it works perfectly while the interval in not very big. However whenever I go over a million the program stops. for instance for interval 2 to 2000000 the sum of primes should be 142913828922 (from the back of the book) whereas my application shows 1179908154. can someone please point out where have I gone wrong.My code is below. it works perfectly while the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: