摘要: 这是一个专门的编程语言/编译器速度测试/对比网站(http://shootout.alioth.debian.org/)给出的题目,以下是EF源代码://nsieve-bitspublic final class 启动类 <作者 = "liigo">{ static nsieve(int m) { int i, j; int count=0; bool[] b = new bool[m+1]; for (i=2; i<=m; i++) { if (!b[i]) { count++; j=i*2; while (j<=m) { b[j]=true; j 阅读全文
posted @ 2008-06-25 22:19 fortest 阅读(249) 评论(0) 推荐(0) 编辑