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.
Forked this to avoid potential redundancy of repeated tests.
defp rand_int(), do: 2..80 |> Enum.filter(fn x -> x not in [4,7,15,25] end) |> Enum.random
As 4,7,15,25 are already tested in the prior tests.
Awesome, that is helpful to know. I have updated the kata details accordingly, and updated the solution to a matrix of integers.
Thanks for that tip!
Pardon me, this is my first attempt at a kumite.
I have now updated it to include truly random tests between 100.
Also, regarding using strings instead of integers; its because lists in erlang are basically binary char lists, and certain combinations of numbers emit random strings..
We could change this to be by numbers.. Its just that the output wont look like what people are expecting even though its technically accurate.
Updated to include random tests.
indeed, its not a kata issue.
im not trying to make it work, im pointing out that theres an issue with the ruby versions. it behaves two seperate ways in two different enviroments.
you are not helping here.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
ty
needs spell check. outpust?