Light Mode
Dark Mode
Feedback from user grinboy
Hi.

Sorry my English is bad.
I do task "minesweeper"(Electronic station)
When I put button "run and check" i see "fail". But don't understand why.

I think that input list is not correct. 

Input Fail: checkio(
[[0,0,0,0,0,0,0,0,0,0],
[0,1,1,2,1,1,1,1,1,0],
[0,1,9,-1,-1,-1,-1,-1,1,0],
[0,2,-1,-1,-1,2,1,1,1,0],
[0,1,-1,-1,-1,1,0,0,0,0],
[0,1,-1,-1,-1,1,0,0,0,0],
[0,1,-1,-1,-1,1,1,1,1,0]
[0,1,-1,-1,-1,-1,-1,-1,1,0],
[0,1,1,2,1,1,1,1,1,0],
[0,0,0,0,0,0,0,0,0,0]])

Please, see list[2][2]=9 why? If we talk about minesweeper we can have max 8 mine,but not 9.

Спасибо. 


URL from: http://www.checkio.org/mission/minesweeper/solve/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Attachment
  • feedback
Created: May 6, 2014, 1:02 a.m.
Updated: May 6, 2014, 4:49 a.m.
0
13
User avatar
grinboy