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.
Should not happen again after 4 years ~~
it was random tests. fixed.
This comment is hidden because it contains spoiler information about the solution
For any kata that includes random tests, you shouldn't be modifying the input array unless explicitly stated. So you know it's not a good idea, you did it anyway and then gave a below satisfaction rating?
Marking resolved.
You may have copy-pasted the wrong array. I've tested the array you pasted and it doesn't return
null
. Also, you didn't include the valuen
, but I tested the reference solution withn
values of10
,20
,60
, and100
, and each returned['Capulet', 30]
,['Montague', 94]
,['Montague', 160]
, and['Montague', 227]
, respectively.Created a fork that fixes according to your suggestion.
Waiting for the author to approve.
Spoiler!
Also fixed
You dont need to convert from Void to [()].
It is impossible to be in the Void case.
Oops, forgot to resolve the question
Hi, I had updated the example testcase.
In particular, what get you is
isLeft (substL isoEU (Right ()))
shouldBe
TrueRemoved again - late to the party ..
Please look at the function name carefully, it's
prime77
, notprime
:)?
I don't know your point.
Loading more items...