Open sx349 opened 4 years ago
https://pe-cn.github.io/388/
Problem 388 Distinct Lines Consider all lattice points (a,b,c) with 0 ≤ a,b,c ≤ N. From the origin O(0,0,0) all lines are drawn to the other lattice points.Let D(N) be the number of distinct such lin
https://www.luogu.com.cn/problem/SP7001 加上杜教筛即可
https://pe-cn.github.io/388/
Problem 388 Distinct Lines Consider all lattice points (a,b,c) with 0 ≤ a,b,c ≤ N. From the origin O(0,0,0) all lines are drawn to the other lattice points.Let D(N) be the number of distinct such lin