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.
My NASM solution passes Sample and Basic tests, but fails with "Signal code: 11" on Random_Tests_1000_strings_of_65635_char
If I understand correctly these tests run various 65635-long strings 1000 times? How could I possibly test something like this by myself?
Okay :c
It's not first Shell kata with same problem for me – optimization
Will unlock solutions then, maybe I don't know some crucial tools for such problems
Thank you for kata, I really enjoyed it :з
This comment is hidden because it contains spoiler information about the solution
Wow! Because of this even legit but not optimal solutions are invalidated!
This comment is hidden because it contains spoiler information about the solution
More than this - user can copy-paste initial maze structure from postmortem log and try it in sample test.
Added all this in the description of kata.
Someone tried to complete this kata in Bash? O_o
My code looks pretty efficient, but Bash isn't supposed to compute LARGE prime numbers - it's pretty slow for such tasks. My solution fails on 5'th basic test because of timeout.
For 6 kyu kata I need to implement some clever algorithm to check on various prime numbers properties, huh?
Thanks!
Whew! What a nice start of the day :D
Fixed surrounding and direction (for sure).
Added in desctiption mentioning of Y axis direction and behaviour when hitting walls.
Changed view of debug output, so it's clear when your code is executing.
And again, thank you so much for feedback! 🤩
Yes, I've broken something while fixing other issues :c
I'll unpublish it untill everything neat and clean
Thank you!
Fixed surrounding orientation -- now it's natural (y is up). Added mentioning of it in description.
Of course no :D
I also prefer natural indexing. I've checked direction:
With constant direction (-1, 0) amoeba moves like this:
With constant direction (0, -1) amoeba moves like this:
But for surrounding y points down - fixing it.
I've fixed it!
This problem existed only in fixed maze. Sorry for inconvenience :c
Loading more items...