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.
An answer two years too late, but your code returns the incorrect result when T is
unsigned
. Thevs
function is where the problem lies.Well, this one is ancient, so it might be the reason
But it actually is very annoying that kata's difficulty has a very weak correlation with its actual level of difficulty
Free points, lol
It looks like it's the length of the input string. Read the posts below, as I don't really do C++ but there are some posts about that already.
I have the same problem c++
No clue here either, but maybe you can find something useful in this article: https://docs.codewars.com/training/troubleshooting