Problem3364--【Div4】立方和问题

3364: 【Div4】立方和问题

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

Description

(说明,如果存在这一对正整数(x,y),使得x*x*x + y*y*y = N,请以非降顺序打印x和y,如果不存在,则打印-1

Sample Input Copy

1001

Sample Output Copy

1 10

Source/Category