void zhishu(){ for(int i=2;i<=n;i){ if(vis[i]) continue; for(int j=i;j*i<=n;j){ vis[i*j]=true;//true为合数 } } }