Re: [gcj] Minesweeper - is the sample output correct?

2014-12-03 Thread Paul Smith
(4,4) isn't a 0, it's a 1, because of the mine in (3,5)

Paul Smith

p...@pollyandpaul.co.uk

On Wed, Dec 3, 2014 at 3:29 PM, Alex F alexf3...@gmail.com 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 google-code+unsubscr...@googlegroups.com.
 To post to this group, send email to google-code@googlegroups.com.
 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 google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
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.


Re: [gcj] Minesweeper - is the sample output correct?

2014-12-03 Thread Alex F
On Wednesday, December 3, 2014 8:11:17 PM UTC, Paul Smith wrote:
 (4,4) isn't a 0, it's a 1, because of the mine in (3,5)
 
 
 
 Paul Smith
 
 pa...@pollyandpaul.co.uk
 
 
 On Wed, Dec 3, 2014 at 3:29 PM, Alex F alex...@gmail.com 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 google-code...@googlegroups.com.
 
 To post to this group, send email to googl...@googlegroups.com.
 
 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.

I see, thanks.

-- 
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 google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/a70411fb-502e-451e-bba9-2d9b1a898454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.