摘要: 找新朋友#include#include#includeusing namespace std;bool primetmp[32770];int prime[20000];//素数bool frd[32770];//标记是否是新朋友int cnt;int main(){memset(primetmp,-1,sizeof(primetmp));for(int i=2;i1){while(n%prim... 阅读全文
posted @ 2010-05-08 23:30 open source 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Eddy's research I [代码] 阅读全文
posted @ 2010-05-08 17:33 open source 阅读(144) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-05-08 11:37 open source 阅读(142) 评论(0) 推荐(0) 编辑