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.
The instructions say "Calculate the index of the counterfeit stack, which satisfies 0 <= index < size"
but it seems like it accepts index + 1 instead of index
Unfortunately, this kata became a duplicate after this one had been approved.
This is really just a counter kata. There are already too many counter katas around.
This comment is hidden because it contains spoiler information about the solution
Thanks for reporting the issue, I have added some more test cases, some are random and some are fixed.
Thank you for the suggestion, I have removed the redundant parameter size.
The
size
parameter seems redundant; it saves you from having to create your own variable, but there's never a case where it should differ frompennies.size()
.Submission tests are missing fixed tests.
Done! Thanks for the help.
You should unpublish it to avoid accidental approval from anyone, that way it would be saved a draft kumite.
Oh, my bad. Should I keep the translation?
Please do not translate beta katas into other languages, as beta katas are nowhere near final, and the way things are tested might change, which would add unnecessary burden to update other translations.
You can't, you might want to try to click
Approve
.Python translation awaiting approval. It's my first translation, so please don't go harsh on me if it's bad. :(
Edit: Realized I can approve it myself, but I'll wait for someone who's better than me to approve it.
Duplicate.
Thanks!
Loading more items...