I have solved the easy version of this problem (

*11428 - Cubes*), and now I am trying to solve harder version (

*11436 - Cubes - EXTREME!!!*). My approach was to try all

**y**variables in range [1 .. sqrt((n+1)/2) ] and for all of them to compute

**x**. If

**x**is integer (it's floor equals itself with some

**eps**(1e-6) error), we found answer.

Of course, this solution gives TLE on the harder problem. Any hint on improving, people?

Thank you in advance!