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.
CoffeeScript translation
D translation
Julia translation
There are some sample tests where x + y == 30, breaking thus the conditions
Can you fix the conditions, please? Thanks in advance (+ not bad kata)
This comment is hidden because it contains spoiler information about the solution
Test case is incomplete. You should make sure all paths with all the border cases for checking 5 are covered in the random tests. I had a solution that passed all the tests and submitted it, but then when I tried again I had one error out of the 160. That's how I realized the fault in your random tests.
Other than that, I like this kata so I gave it an upvote.
duplicate of too many tic-tac-toe / connect four / connect N katas, sorry.
Who voted this as 1kyu?