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.
It should.
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
Why zero cats are 2 000 000 tall?
It should be No.1
Sorry, I thought it is unnecessary when commenting on the answers ;(
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Oh,fact. Thanks!
Yes, since you don't have the length of the tank.
Is "vt" necessary?
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.
Would love to know how they passed test expecting diffrent values with the same input
No bugs, passed by 2562 people with C++.
This comment is hidden because it contains spoiler information about the solution