摘要: 这是我找了好多找到素数筛优化的很不错的了 如果有大神知道还能再优化的话希望能提取宝贵意见 Orz 1 # include 2 # include 3 # include 4 # include 5 # include 6 # include 7 # include 8 # include 9 using namespace std;10 11 int a[1000010];12 13 int main(void)14 {15 int n;16 while(~scanf("%d", &n) && n)17 {18 a[0] = 0, a[1... 阅读全文
posted @ 2013-08-23 16:19 GLSilence 阅读(252) 评论(3) 推荐(0) 编辑