0
$\begingroup$

enter image description here

In that picture, I am having trouble counting why there are 17 pairs of queens. I can only count 14. I counted 10 diagonal pairs and 5 horizontal pairs. Can someone please elaborate on this?

I am not exactly sure how it was numbered, but I believe the numbers on the board represent the new number of pairs that are attacking each other if a queen in that column were to move to that square.

$\endgroup$
3
  • $\begingroup$ This picture is so confusing, how was it numbered? what is all about 17? Could you expand the description of the problem? $\endgroup$ May 2, 2016 at 5:40
  • $\begingroup$ Ok, first there are not 17 queens but stated as 17 pairs of queens attacking each other (you have confusing description), and second - this question started as hill climbing, but are you really asking to help you count attacking queens in the blue picture. I counted out of curiosity, I see 17, what next? You have too small count of diagonals. $\endgroup$
    – Evil
    May 2, 2016 at 6:12
  • 3
    $\begingroup$ I'm voting to close this question as off-topic because it is a request to count features of a particular diagram, not a question about computer science. $\endgroup$ May 2, 2016 at 15:00

1 Answer 1

1
$\begingroup$
5 - Horizontal attacks
9 - Diagonal attacks of slope -1
3 - Diagonal attacks of slope +1
-
Total 17 pairs of queens attacking each other.

And yes, the numbers in each square correspond to number of attacking pairs of the queen if the queen in the corresponding column is moves to that location.

$\endgroup$