All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Placing 20 pieces (Posted on 2006-01-14)
You have 20 rectangular pieces (2x1) with the letters A and B, as shown:
```           +---+---+
| A | B |
+---+---+```
Your task is to place all of them in the 8x8 board below, where the position of the pieces is already indicated. The numbers at right and below the "(A)" indicates how many A´s there are in each column and in each row, respectively. Similarly, the numbers at left and above the "(B)", indicates the same for the B´s. The only restriction in placing the pieces is that no two A´s nor two B´s touch each other.
```    (A)   3   4   1   3   1   3   2   3
+---+---+---+---+---+---+---+---+
2  |       |   |       |       |   |  2
+---+---+   +---+---+---+---+   +
3  |       |   |   |   |   |   |   |  1
+---+---+---+   +   +   +   +---+
1  |       |   |   |   |   |   |   |  3
+---+---+   +---+---+---+---+   +
3  |   |   |   |   |       |   |   |  3
+   +   +---+   +---+---+   +---+
1  |   |   |   |   |   |   |   |   |  2
+---+---+   +---+   +   +---+   +
3  |   |   |   |   |   |   |   |   |  2
+   +   +---+   +---+---+   +---+
3  |   |   |   |   |       |   |   |  4
+---+---+   +---+---+---+---+   +
4  |       |   |       |       |   |  3
+---+---+---+---+---+---+---+---+
4   3   1   2   2   3   2   3   (B)```

 See The Solution Submitted by pcbouhid Rating: 2.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 a solution | Comment 2 of 4 |

AB---BA-

BA-A-A--

--AB-B-B

BAB-BA-A

AB-----B

BA-A--BA

AB-BABAB

BA-ABABA

 Posted by goFish on 2006-01-14 17:05:37

 Search: Search body:
Forums (0)