在看大家代码时,发现有人把 for (LL p = 1; p <= m / b; ++p) 写成 for (LL a = b; a <= m; a += b)。我思考了一下,发现后者写法更好。学到了!