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.
I'm an idiot. Thanks
Come on... This is the signature of the function:
This function has obviously 3 parameters.
This kata is 6 years old and was solved 2,134 times in C++. Do you really think it's possible there's such an error in sample tests and nobody saw it before you?...
BTW, sample tests are the same as in other languages.
I don't think we are looking at the same thing. The cpp first two tests are the same with different outcomes. What third parameter are you referring to?
There's a third parameter...
Both are Lew, 10, 2 and Harry, 5, 4. Exactly the same
Tests are not the same.
Broken for c++. First two tests are the same but expect different results.