AE00  Rectangles
Byteman has a collection of N squares with side 1. How many different rectangles can he form using these squares?
Two rectangles are considered different if none of them can be rotated and moved to obtain the second one. During rectangle construction, Byteman can neither deform the squares nor put any squares upon any other ones.
Input
The first and only line of the standard input contains one integer N (1 â¤ N â¤ 10000).
Output
The first and only line of the standard output should contain a single integer equal to the number of different rectangles that Byteman can form using his squares.
Example
For the input data:
6
the correct result is:
8
Task author: Jakub Radoszewski.
Added by:  Race with time 
Date:  20090503 
Time limit:  1s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel Pentium G860 3GHz) 
Languages:  All except: ERL JS NODEJS PERL 6 SCM chicken VB.net 
Resource:  Algorithmic Engagements 2009 
hide comments
bholagabbar:
20150408 14:48:06
Why won't this work? ((n/2)*2)1)+(((n+1)/2)


Francky:
20150405 12:25:44
I've edit the body, now everybody should see the image inside the description. 

NIKHIL KUMAR SINGH:
20150404 17:31:18
image didn't get load on my browser


Gaurav:
20150227 06:38:50
2 lines O(n^0.5) soln :) 

Jonas Collberg:
20150217 12:29:44
Better solution than O(N ^ 0.5) possible? 

manish kumar:
20150206 10:03:58
AC at last....:)


Sarthak:
20150205 14:24:00
Last edit: 20150205 14:24:39 

Sajan mishra:
20150119 06:26:13
Problem description is flawed, it asks for unique rectangles, but the answer is different. 

Parth:
20150109 09:16:36
easy one....AC in one go!!!...:) 

Mamdouh Ahmed:
20150108 12:38:36
AC on first submission,
