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.
Added to Notes.
This is most crucial information, and it must be in the spec.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Doh.
but the out-of-bounds array accesses will happen regardless, so that's still UB. invalidated >:)
8 January 2025. Python. 317 lines. It took me 15 hours during 5 days. Time: 1380 - 1771ms (it seems too quickly, but I do not know why...). Great kata!!!
Approved to enable Python 3.11
Python update - 3.11 compatibility
This comment is hidden because it contains spoiler information about the solution
Fun problem, although a little easy for 5kyu.
One suggestion: It would be nice if an example showing multiple lines was included in either the description or the sample tests.
Instructions could've been clearer. As always.
Anyways, this kata is too old. I don't know how I got here.
???
Nuts are only counted it they reach the ground. If a nut gets stuck in a
\/
then it does not hit the ground. So it is 0.This is not a Kata "Issue".
Hahaha! Happy new year!
I'm a bit confused by the example in the description. Why are the first 4 numbers = 0? From my unterstanding the second should be 1 and the third 2 because of the 3 nuts which should stuck in the \ / ? What am I getting wrong here?
Loading more items...