Given the circle (x2+y2=r2)(x^2+y^2=r^2)(x2+y2=r2), determine how many points on its circumference have integer coordinates.
A single integer rrr.
The number of lattice points.
4
Constraints: r≤2000000000r\leq 2000 000 000r≤2000000000.
Translated by ChatGPT 5
注册一个 云斗学院 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 云斗学院 通用账户