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.
@hobovsky: thanks!
Fixed.
This test is correct, and other tests also seem to be correct, but I think you could mix up tests cases which you failed. Please see here to confirm: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#how-can-i-see-which-input-causes-my-solution-to-fail
If you are sure you are failing exactly this test, you can share your code so we can take a look.
Yes, that's correct.
Kata works OK, but it seems g964 broke initial solution stub when fixing the C++ version of the kata recently. It's not something what would stop you from solving the kata, but you have to be familiar with C++ a bit to know what's wrong. I believe g964 will fix it soon, but until then you can use this code as starting point:
Paste this code into "Solution" panel and fill in the method
comp
with your implementation.