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.
Counting starts from the Cat In The Hat
means n is nr of cats other than the first cat with the hat.Not an issue
Yes, since you don't have the length of the tank.
It's probably not what happens, but I agree that sometimes test output can be confusing.
Please see if this paragraph is any helpful: https://docs.codewars.com/training/troubleshooting#print-input
If it does not help, post your code here (see here how: https://docs.codewars.com/training/troubleshooting#post-discourse) so someone could take a look.
No bugs, passed by 2562 people with C++.