#P1676. 「CMOI R0」Parallel Universe Shifter / Lattices in Circle
「CMOI R0」Parallel Universe Shifter / Lattices in Circle
题目背景
$$\text{Answer}=\pi n^2+\mathrm O(n^{\frac{131}{208}}). $$$\small\color{white}/35^{\text{th}}\text{Problem by AtC}.$
题目描述
求与原点距离不超过 的整点个数。
输入格式
一行一个正整数 。
输出格式
一行一个正整数,即答案。注意它可能大于 。
1
5
2
13
5
81
19
1129
100
31417
30000
2827432965
10000000
314159265350589
500000000
785398163397389961
16000000000
804247719318986163169
700000000000
1539380400258998682200449
提示
样例 解释
符合条件的 个点是 。
