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.
"missing test cases" when you click test and then the solution passes when you click submit
JS version of this should not exist
really hated this.
Thank you! Superb explanation. Now it makes sense
One of test cases states that the input 3 must produce result of 2. This implies that the total amount of grain is summed up, i.e. the character in this puzzle receives grain/rice from all squares up to and including the last one. But other test cases clearly imply that he or she gets the amount only from the last square. This is a very sloppy kata and test cases and description have to be more clear. Or am I missing something?
what is this garbage?