10
$\begingroup$

In a Super™ Minesweeper grid each cell is either a mine or a value. A value in row $r$ and column $c$ represents the total number of mines located in row $r$ or column $c$.

Can you fill a 5x5 Super™ Minesweeper grid with mines such that every number from 0 to 6 appears at least once? Good luck!

$\endgroup$
11
$\begingroup$

One possible answer is:

enter image description here

The zero and six force most of the grid, then the 54 is another significant constraint.

$\endgroup$
4
  • 1
    $\begingroup$ Correct and well done! $\endgroup$ Nov 9 '20 at 2:39
  • 2
    $\begingroup$ A value in row r and column c represents the total number of mines located in row r or column c. Doesn't your solution use [...] row and column? $\endgroup$
    – alex
    Nov 9 '20 at 13:02
  • 1
    $\begingroup$ @alex I puzzled over that too. But if you use that definition 6 can never be used, so I inferred that this was what the OP had in mind. $\endgroup$ Nov 9 '20 at 13:42
  • $\begingroup$ Oh, actually true. Thanks for clarification. $\endgroup$
    – alex
    Nov 9 '20 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.