You need to sign in or sign up before continuing.×
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.
that's OK but please improve your desc somehow.
This comment is hidden because it contains spoiler information about the solution
Yes [0],[0] --> [] weirded me out too. Is this a legit issue or some quirk that needs to be added to the desc?
Lol @ sensible letters. As the poet Billie Eilish has said "you should see me in my pre-language-reform alphabet"
My bad. Now I see which case was failing and why. Thanks for bearing with me.
Alright here is what I get:
Test Failed
actual
not equal toexpected
.Length mismatch: comparison on first 3 components
Component 3: Mean relative difference: 0.8214286
Log
the list was 107 158 204 100 118 123 126 110 116 100
the returned res was c(2, 1032) c(3, 453) c(5, 310) c(7, 126) c(11, 110) c(17, 204) c(29, 116) c(41, 123) c(59, 118) c(79, 158) c(107, 107)
What's the problem here?
in R randomised tests I am getting a mean delta of less than 1 which is throwing off as an error. I printed the res and the lst and manually checked, it seems fine to me, looks like a rounding problem on testing side. Would you mind having a look? Cheers
yup - it looks fine now. Thanks
got you. I printed them and came to same conclusion as you have above. There seems something up with Java random tests. I will leave you to it. Cheers B1ts.
This comment is hidden because it contains spoiler information about the solution
that is very correct. My bad.
Just FYI on R, it requires the list elements to be sorted on the first number (a). If you submit the same list just ordered on b, you will get errors.
Yup, same here. Language R