Rectangles
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
There is a collection of squares, each with a side length of . How many distinct rectangles can be formed using these squares?
Two rectangles are considered distinct if one cannot be rotated or moved to match the other. When constructing the rectangles, you cannot deform the squares or stack them on top of each other.
Input
One integer .
Output
Print the number of distinct rectangles that can be formed using the squares.
Examples
Input #1
Answer #1
Submissions 877
Acceptance rate 33%