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.
Hey! I always get 8 different paths for the second test case.
[((2, 1), (1, 0), (0, 0), (0, 0)),
((2, 1), (1, 0), (0, 1), (1, 0)),
((2, 1), (1, 1), (1, 0), (0, 0)),
((2, 1), (1, 1), (1, 1), (1, 0)),
((2, 1), (1, 2), (2, 1), (1, 0)),
((2, 2), (2, 1), (1, 0), (0, 0)),
((2, 2), (2, 1), (1, 1), (1, 0)),
((2, 2), (2, 2), (2, 1), (1, 0))]
My solution is 0.0436 and not 0.256. I dont know what is wrong. Can someone pls help?
Haskell translation
This comment is hidden because it contains spoiler information about the solution
Please, read about markdown formatting: https://github.com/codewars/codewars.com/wiki/Markdown-Formatting
It's preferrable to use highlight your variables with
inline code formatting
, rather than<i></i>
. Also, use markdown headlines for... well, for the headlines, such asTask
,Example
, and so on.