Los BZOJ1041 valley P2508 [HAOI2008] The whole point of the circle

Title Description

Seeking a given round (x ^ 2 + y ^ 2 = r ^ 2), has in the circumferential coordinate points being an integer number.

Input Format

r

Output Format

The whole number of points

  • Note that the input is not r r ^ 2, but also pay attention to open long long ah.

 

---------------------------------------------------------------------------------------------------------------------

Guess you like

Origin www.cnblogs.com/jiecaoer/p/11440906.html