Quote:
Originally Posted by w1k0
Puzzle 6A
Code:
+--------------------------+ +--------------------------+
| #1 | | #2 |
| IT DOESN’T MATTER | | IT DOESN’T MATTER |
| WHICH ROOM YOU’LL CHOOSE | | WHICH ROOM YOU’LL CHOOSE |
+--------------------------+ +--------------------------+
Which room should he choose?
|
If the lady is in 1, expr = True. Thus, the lady must be in both. If the lady is in 2, expr = False. Thus, it does matter which room, which must be false. Therefore the lady is not in 1.
If the tiger is in 2, expr = True. Thus, the tiger must be in both. If the tiger is in 1, expr = False. Thus, it does matter which room, which must be false. Therefore the tiger is not in 2.
If the lady is in 2, expr = False. Thus, the tiger must be in 1. If the tiger is in 1, expr = False. Thus, it does matter which room, which is true since the lady is in 2. Therefore, the tiger is in 1, and the lady is in 2 (choose 2).
Quote:
Originally Posted by w1k0
Puzzle 7
Code:
+--------------------------+ +--------------------------+
| #1 | | #2 |
| IT MATTERS | | YOU’LL WIN |
| WHICH ROOM YOU’LL CHOOSE | | CHOOSING THE FIRST ROOM |
+--------------------------+ +--------------------------+
Which room should he choose?
|
If the lady is in 2, expr = False. Thus, you will not win choosing the first room, which means the tiger must be in 1. If the tiger is in 1, expr = False. Thus, it does not matter which room you choose, which must be false. Therefore, the lady is not in 2.
If the tiger is in 1, expr = False. Thus, it does not matter which room you choose, meaning the tiger must also be in 2. If the tiger is in 2, expr = True. Thus, you will win choosing the first room, which must be false. Thus, the tiger is not in 1.
If the lady is in 1, expr = True. Thus, it does matter which room you choose, so the tiger must be in 2. If the tiger is in 2, expr = True. Thus, you will win choosing the first room, which is true if the lady is in 1.
Therefore, the lady is in 1, the tiger in 2 (choose 1).
Quote:
Originally Posted by w1k0
Puzzle 8
Code:
+--------------------------+
| THERE’S THE TIGER |
| IN THAT ROOM |
+--------------------------+
+--------------------------+
| IN BOTH ROOMS |
| ARE THE TIGERS |
+--------------------------+
Which room should he choose?
|
I have to make an assumption here which may be incorrect. By "There's the tiger in that room" I assume you mean the room behind that same door -- "that room" could also mean the *other* room so I'm not positive which you meant. I will assume it means the same room with the sign attached.
Assume #1 = "Tiger in this room" and #2 = "Tigers in both rooms".
If the lady is in 1, expr = True. But obviously the lady is not a tiger. Thus, the lady cannot be in 1.
If the tiger is in 2, expr = True. Thus, the tiger must be in both rooms. If the tiger is in 1, expr = False. Thus, 'tiger in this room' is false, which is wrong. Thus, the tiger cannot be in 2.
If the lady is in 2, expr = False. Thus, tigers are not in both rooms, which is fine. We know lady cannot be in 1. If the tiger is in 1, expr = False. Thus, 'tiger in this room' is false, which is wrong.
Thus, the labels must not be correct.
Assume #1 = "Tigers in both rooms" and #2 = "Tiger in this room".
If the lady is in 1, expr = True. Obviously 'Tigers in both rooms' cannot be true, so the lady cannot be in 1.
If the tiger is in 2, expr = True. Thus, 'Tiger in this room' is true, which is fine. If tiger is in 1, expr = False. Thus, 'tigers in both rooms' is false, which is wrong. If the lady is in 1, expr = True. Thus, "Tigers in both rooms" is true, which is wrong. Thus, the tiger cannot be in 2, because neither lady nor tiger could be in 1.
If the lady is in 2, expr = False. Thus, 'Tiger in this room' is false, which is fine. If the tiger is in 1, expr = False. Thus, 'Tigers in both rooms' is false, which is fine. Thus, the tiger is in 1, and the lady in 2 (choose 2).
If I misunderstood and the sign should have meant "Tiger in other room" then you would still choose 2, and the assignments would be "#1: Tiger in other room" and "#2: Tigers in both rooms".
(That took me much longer to type than to solve, and I don't feel like proofreading. My explanation also sounds like a scene from The Princess Bride. Inconceivable!)