摘要:
D. Blue-Red Permutation 想到一个假算法 阅读全文
posted @ 2021-11-04 22:38
juuich
阅读(25)
评论(0)
推荐(0)
摘要:
线性筛 int P[Max],cnt; bool vis[Max]; int GetP(int n) { pos(i,1,n) vis[i]=true; vis[1]=false; pos(i,2,n) { if(vis[i]) P[++cnt]=i; for(int j=1;j<=cnt && i 阅读全文
posted @ 2021-11-04 12:15
juuich
阅读(41)
评论(0)
推荐(0)

浙公网安备 33010602011771号