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.
no it doesnt work
This is not really a kata issue, since it's considered cheating.
"parsing" each command evey time is not efficient, and the test code do this a lot when jumping between lines.
This comment is hidden because it contains spoiler information about the solution
This is great!
Good to know.
I also made a real solution for this kata beforehand, for what it's worth.
This comment is hidden because it contains spoiler information about the solution
noted.
Thanks for reporting it, but use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Thanks for showing me the '??' - operator. Wasn't aware of it...
use intdiv() for divisions and it should work.
the division in that sequence should result in 0, not -1
This comment is hidden because it contains spoiler information about the solution
No spoilers but; that error is directed towards the line it's on. Re-read the instructions, because there's a case you're missing.
took me a lot of time rethinking my approach but I finally managed to write a working solution.
Good kata!
Loading more items...