(4,4) isn't a 0, it's a 1, because of the mine in (3,5)

Paul Smith

[email protected]

On Wed, Dec 3, 2014 at 3:29 PM, Alex F <[email protected]> wrote:

> I am trying to understand the minesweeper task:
> https://code.google.com/codejam/contest/5214486/dashboard
>
> For this case:
>
>   12345
>
> 1 ..*..
> 2 ..*..
> 3 .*..*
> 4 .*...
> 5 .*...
>
> it prints minimal number of clicks 8. Probably I don't understand the
> task, but I see 6 clicks. I follow the notation (y, x) (row, column).
>
> 1. (4, 4)
>
>  12245
>
> 1 ..*..
> 2 ..*..
> 3 .*42*
> 4 .*301
> 5 .*200
>
> 2. (1, 5)
>
>  12245
>
> 1 ..*20
> 2 ..*31
> 3 .*42*
> 4 .*301
> 5 .*200
>
> 3. (1, 1)
>
>  12245
>
> 1 02*20
> 2 13*31
> 3 .*42*
> 4 .*301
> 5 .*200
>
> 4,5,6, 3 clicks on remaining 3 cells, each one reveals one cell.
>
> So, 6 clicks and not 8. Am I right or I am missing something?
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/a58f6669-5520-4e33-b16b-3618ed0a1932%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAJej63JwckiaXVikg86inGMsor8c4y7W6DKuT7FBwJq25GdvBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to