摘要:
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]) 阅读全文
![](/skins/gray/images/separator.gif)