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.
Done. Thanks for the heads up.
Good catch. Fixed.
I've added a bit of clarification to the details of the kata.
This solution was not intended to be valid. I have updated the test cases to limit solutions <=700 lines. My solution was <500, so that should leave some padding.
Thanks for the help. I had never noticed the fork link before. I've created https://www.codewars.com/kata/59ee2671233243fd2c000168 based on your Multi Line Task katas. Hopefully it makes you throw up in your mouth a little bit.
I do not have permission to Edit your Kata. How am I able to view your
Preloaded
code?I'd like to author a similar Kata (with limitations on line length and/or characters), but I cannot figure out how to view the solution's text in the test cases.
In your tests you have
usercode
. Where does that come from?Good catch. I've updated the first example test to pass a noop function as the
resolver
.Valid point. I removed the
null
test.I think part of the confusion was caused because the initial solution had a bug which was causing what appeared to be rounding problems.
There is now a random test case.
That definitely sounds like an issue on my part. I'll look at the solution and post a correction.
It is using Math.round(), so it should be rounding up.
This comment is hidden because it contains spoiler information about the solution