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.
(If you run out of ammo at the same time as the remaining zombies reach you, return "You shot X zombies before being eaten: overwhelmed.".)
that is in the details, i think in the case mentioned you run out for ammo at the same time zobies reach you, since you need to mutiply range by 2 because zombies move 0.5 meters
The description is not clear about what is in your mind. Also, not all languages test this edge case.
That was pretty much it: in my mind "out of ammo" was the situation where you have run out of ammo and are just waiting for the zombies to get to you.
The description mentions permutations:
find the sum of all numbers with the same digits(permutations) including duplicates
So do you want a short example
Well, the author is active, maybe he'll consider your suggestion.
And didn't you read the examples?
How would that be looking through the numbers
1
through10**5
for matches?The tests are correct.
Please read at the bottom of discourses @ecolban answer.
Sorry, giving a hint would be to give the solution.