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.
k i will change it
shouldn't matter too much
no thats just what i did
The Coffeescript version is definitely broken. It appears that when the "Random Test Cases" are performed, the preloaded "words" array only contains one word ([ "ZONES "]).
idk. but i removed them
... Easy fix... =_=
Thank you for bringing the issue to my attention, if it still doesn't work come yell at me
You're right, I'll see that this is resolved
This comment is hidden because it contains spoiler information about the solution
should return 2. https://oeis.org/A100073/b100073.txt#:~:text=0%0A323%202-,324%202,-325%203%0A326
yep, my first ones were already hidden.
current one would not work for the 3kyu kata anyway
ok, I'll post another.
it seems that kata needs a JS translation as well ;-)
This comment is hidden because it contains spoiler information about the solution
ok
Thanks, approved!
Definitely an issue. Without sufficiently large values of
n
, a simple for loop will do. However, larger values ofn
will require values ofr
increasingly close to1
to avoid overflow or underflow.IMHO, this kata would work much better with integer-only inputs, with output taken modulo a large prime. This would eliminate all accuracy concerns.
Loading more items...