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.
Hello! I have the same problem as Unnamed(1 dan), hkupty(6 kyu).
Sample tests pass, but random always expect amount 1 step less then maximum.
All crops are integers, no decimals involved.
I make calculation in Excel, and I recieve results the same as Unnamed(1 dan), hkupty(6 kyu).
In my test:
beets= 131187 loss= 17
result= 253'154'259 i= 3859
expected:253'154'244 (1 step less)
beets= 507462 loss= 22
result= 2'926'591'024 i= 11534
expected: 2'926'591'014
Have read description 20 times.
This comment is hidden because it contains spoiler information about the solution
Got away with two hardcoded solutions and a simple check to pass all tests.
https://www.codewars.com/kata/reviews/5b88b73bcbe4e12197000087/groups/5c6cd17ae84ebd0001a1b1be
You need a whitespace after
-
to start a unordered list in Markdown ;-)Needs a fixed test where the largest number is missing.
This has come up for approva with all of 3 ranks and votes out of all of 4 solutions, but the random generator and the reference solution are not what they can and maybe should be.
Raising issue to prevent premature approval.
Author, please resolve this issue when said items are what you want them to be ( which might be what they currently are ).