摘要: T1 秒了,直接写一个线性筛一样的东西即可。 const int N=10000010; int T,x; bool ok[N];int nxt[N]; il void Init(){ for(int i=1;i<N;i++){ if(ok[i])continue; int t=i;bool ff= 阅读全文
posted @ 2023-03-13 20:56 ajthreac 阅读(53) 评论(0) 推荐(0) 编辑