Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
(
π
β
1
)
3
+
(
π
β
2
)
3
+
.
.
.
+
1
3
π
n
3
+(nβ1)
3
+(nβ2)
3
+...+1
3
=m if such a n exists or -1 if there is no such n.
OP has implemented the logic, it is basically summation of cubes of numbers from 1 to ... until it reaches or surpasses
$m
I'm looking atht explination and just don't understand how it works. I'm going to have to study the wiki for this one as well.