PE-CN / pe-cn-comments

2 stars 0 forks source link

Problem 388 | Project Euler | #390

Open sx349 opened 4 years ago

sx349 commented 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

shangkelingxiang commented 2 years ago

https://www.luogu.com.cn/problem/SP7001 加上杜教筛即可