Just in case you aren't aware, the reason you are failing that test is because each 3x3 block must contain exactly one of each integer from one to nine. For example, in your hard coded solution, look at board[0][1] and board [1][0], they are both two, board[0][2], board[1][1], and board[2][0] are each three.
Please check again, because false is not a correct result.
I provided an array from the test, and this array absolutly correct.
You can check by yourself, each row and column should have values from 1 to 9 without duplicates or zeros.
agree!
Oh really? 😂😢🥲
The test works fine
Just in case you aren't aware, the reason you are failing that test is because each 3x3 block must contain exactly one of each integer from one to nine. For example, in your hard coded solution, look at board[0][1] and board [1][0], they are both two, board[0][2], board[1][1], and board[2][0] are each three.
;)
Insufficient number of non-random tests.
Yep, my mistake, thanks for the reply
Sorry about that.
don't worry, he'll get banned for this.
You can check by yourself, each row and column and 3x3 sub-square should have values from 1 to 9 without duplicates or zeros.
false
is correct result for this input.No, false is the right result.
Please check again, because
false
is not a correct result.I provided an array from the test, and this array absolutly correct.
You can check by yourself, each row and column should have values from 1 to 9 without duplicates or zeros.
I'm not sure what you mean, but the expected result is
false
, and that is correct.Nothing can be done about it.
It is a full duplicate of https://www.codewars.com/kata/529bf0e9bdf7657179000008
WTF???
Loading more items...