lzlwdz
lzlwdz
全部文章
分类
题解(23)
归档
标签
去牛客网
登录
/
注册
lzlwdz的博客
全部文章
(共1篇)
题解 | #漂亮数#
写过素数的个数都知道想要快速找到l,r中间的符合条件的数,可利用筛法 #include <bits/stdc++.h> using namespace std; using ll=long long; const int N=1e8+10; int p[N],sum[N],cnt; ...
C++
数学
前缀和
2024-05-01
0
236