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.
Without any information, we do not know either. Sorry.
I've tested your solution and it passed both sample and real tests without compilation errors!
I believe you're not allocating enough memory for the string (for example, check case 3 more closely).
The expected answer for that test is "volcano", not "climbing". That's a problem in your code, not a kata issue.
Did you read this :" where 0 <= m <= n or m >= n >= 0" ? No errors in the tests. Read at the top of the page how many people passed the C++ kata.