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.
For haskell, the test cases fail if they pick zero at division.
You could replace
choose (0,1004)
withchoose (1,1004)
, though I would recommend also checking negative values.If they wanted a math formula they should raise the difficulty level of this kata.