• Problem with find-sequence on a matrix

 

I would like to give some feedback about ...

From: http://www.checkio.org/mission/find-sequence/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0

Hi,

I believe I found an issue on this problem, where the matrix I get at test 5 is not the one that gets displayed. I get this:

[[7, 1, 1, 8, 1, 1], [1, 1, 7, 3, 1, 5], [2, 3, 1, 2, 5, 1], [1, 1, 1, 5, 1, 4], [4, 6, 5, 1, 3, 1], [1, 1, 9, 1, 2, 1]]

where there is a series of 5, ascending on the diagonal, starting from coordinates (4,2) (this can be verified easily just by looking at it). My code returns True.

But, the tester believes it sends another matrix, for which I should return False. The matrix is as follows: Fail: checkio([[2,6,2,2,7,6,5],[3,4,8,7,7,3,6],[6,7,3,1,2,4,1],[2,5,7,6,3,2,2],[3,4,3,2,7,5,6],[8,4,6,5,2,9,7],[5,8,3,1,3,7,8]])

Hence I cannot pass the problem, unless I cheat the tester.

Thanks,