Squared triangular number (Sum of cubes)
Given a number s (1 <= s <= 1000000000). If s is sum of the cubes of the first n natural numbers then print n, otherwise print -1.First few Squared triangular number are 1, 9, 36, 100, 225, 441, 784, 1296, 2025, 3025, ...Examples : Input : 9 Output : 2 Explanation : The given number is sum of