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.
hide comments
laidactienbn:
20180923 12:26:44
Last edit: 20180923 12:27:47 

fraxz:
20180919 09:01:15
It is just an easy math... You can solve it using 2 loops. But you need to do a little bit of optimization. Hint: You can do it in o(sqrt(n)) 

yamone_123:
20180805 09:10:18
Ac in one go! so ez


puddin:
20180623 12:18:09
try to see or figure out some formula,hint:loop will run upto sqrt(n) to calculate sum*******TC (root_n) 

that_rogue_guy:
20180519 18:55:15
Easy Peasy Lemon Squeezy! 

cabbie:
20180511 21:18:44
AC in no go


ramesh_961:
20180509 12:38:10
easy,AC in one go !Just think about factors 

rohitistaken:
20180418 16:35:40
AC in one go!!! 

vritta:
20180329 18:06:34
Last edit: 20180329 21:15:55 

vritta:
20180329 18:05:56
Last edit: 20180329 21:16:11 
Added by:  Race with time 
Date:  20090503 
Time limit:  1s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All except: ERL JSRHINO NODEJS PERL6 VB.NET 
Resource:  Algorithmic Engagements 2009 