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
Thanks for your comment!
You have to post your solution here if you want anybody to see it.
Because the compiler doesn't know what to do with your type, and doesn't know which other type to convert it to?
The C++ version is definitely not broken. You can print the inputs and debug your solution yourself, and if that doesn't help, you should post your code here with a spoiler tag - nobody will be able to help you if all you say is "please tell me what I'm missing".