摘要: 1publicstaticArrayListGeneratePrimes(intubound) 2{ 3BitArrayflags=newBitArray(ubound+1,true); 4for(inti=2;i<=(int)Math.Sqrt(ubound);i++) 5... 阅读全文
posted @ 2005-05-08 10:39 三角猫 阅读(739) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2005-05-08 10:38 三角猫 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 1""Then 31strTmp=Left(strTmp,Len(strTmp)-1) 32CalcPrimes=Split(strTmp,",") 33Else 34CalcPrimes="" 35EndIf 36 37EndFunction 38%> ... 阅读全文
posted @ 2005-05-08 10:36 三角猫 阅读(826) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2005-05-08 10:34 三角猫 阅读(430) 评论(0) 推荐(0) 编辑