Problem G
All Square Sums
Languages
en
is

You are given a non-negative integer
Input
The first and only line of input contain a non-negative
integer
Output
First print the number of ways
Sample Input 1 | Sample Output 1 |
---|---|
52706 |
8 (-95)^2 + (-209)^2 = 52706 (-209)^2 + 95^2 = 52706 95^2 + 209^2 = 52706 209^2 + (-95)^2 = 52706 (-209)^2 + (-95)^2 = 52706 (-95)^2 + 209^2 = 52706 209^2 + 95^2 = 52706 95^2 + (-209)^2 = 52706 |