Problem2168--Squares and Cubes

2168: Squares and Cubes

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Sample Input Copy

6
10
1
25
1000000000
999999999
500000000

Sample Output Copy

4
1
6
32591
32590
23125

Source/Category