2011年4月24日
摘要: View Code 1 /* hit 3014 */ 2 #include <iostream> 3 #include <cstring> 4 using namespace std; 5 typedef long long ll; 6 int prime[1000000],tem[1000000],t ; 7 void init() 8 { 9 memset(prime,0,sizeof(prime));10 for(ll i=2;i<=1000000;i++) // qiu sqrt(10^12) nei su shu 11 {12 if(!prime[i]) 阅读全文
posted @ 2011-04-24 17:40 eth0 阅读(149) 评论(0) 推荐(0) 编辑