l*y 发帖数: 21010 | |
d**********x 发帖数: 4083 | 2 how did you generate prime numbers?
【在 l*y 的大作中提到】 : 把4到N的哥德巴赫猜想给验证一下。。
|
l*y 发帖数: 21010 | 3 Sieve of Eratosthenes
【在 d**********x 的大作中提到】 : how did you generate prime numbers?
|
d**********x 发帖数: 4083 | 4 time complexity?
【在 l*y 的大作中提到】 : Sieve of Eratosthenes
|
g*********e 发帖数: 14401 | 5
跟坑王叫啥劲
【在 d**********x 的大作中提到】 : how did you generate prime numbers?
|
c********p 发帖数: 1969 | |
b**k 发帖数: 3563 | 7 呵呵,这坑挖得。不在水区灌水,跑这里来做什么。
【在 g*********e 的大作中提到】 : : 跟坑王叫啥劲
|
l*y 发帖数: 21010 | 8 如果是假的我抽我自己85个大嘴巴
面的就是这道题,先找出所有prime numbers<=N,然后N^2组合加起来找出所有可能的
和就行了 |
d**********x 发帖数: 4083 | 9 then you failed
【在 l*y 的大作中提到】 : 如果是假的我抽我自己85个大嘴巴 : 面的就是这道题,先找出所有prime numbers<=N,然后N^2组合加起来找出所有可能的 : 和就行了
|
l*y 发帖数: 21010 | 10 那你说一个牛逼的解法
【在 d**********x 的大作中提到】 : then you failed
|
|
|
d**********x 发帖数: 4083 | 11 it's not because your solution was not niubi
it's because you think your solution was niubi
【在 l*y 的大作中提到】 : 那你说一个牛逼的解法
|
l*y 发帖数: 21010 | 12 别废话,你说一个牛逼的解法
【在 d**********x 的大作中提到】 : it's not because your solution was not niubi : it's because you think your solution was niubi
|
P**H 发帖数: 1897 | 13 遍历,是prime就hash,不是prime就遍历hash.N^2,如果prime个数的增长和N线性.只能想
到这个. |
r******g 发帖数: 138 | |
l*y 发帖数: 21010 | |