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.
This comment is hidden because it contains spoiler information about the solution
Not sure if RVO will work with "{}" as return.
I would use "result" as return instead.
OMG.
nice.
Have a look at Voile's comment for some mathematical reasoning.
I honestly don't remember. I think I arrived at this somewhat empirically, but probably because it actually is the least common multiple.
This comment is hidden because it contains spoiler information about the solution
How come this solution. Could you give me a brief explantion?
so that's why we need to practise defensive programming. ;)