Skip to content

Instantly share code, notes, and snippets.

@ssirowy
Last active December 27, 2015 18:59
Show Gist options
  • Save ssirowy/7374321 to your computer and use it in GitHub Desktop.
Save ssirowy/7374321 to your computer and use it in GitHub Desktop.
ROTW: 11/8/2013
You must answer both to win ROTW this week
A) The answers to the questions below are one-digit numbers from one to nine,
and no number is repeated. Figure out the unique set of answers:
1. Answer to statement 5 minus answer to statement 4.
2. Answer to statement 8 times answer to statment 9.
3. Answer to statement 4 plus answer to statement 8.
4. Number of times that the number 9 is in an answer.
5. Total number of statements.
6. Answer to statment 1 minus answer to statement 4.
7. Number of odd answers.
8. Answer to statement 2 divided by answer to statement 9.
9. Answer to statement 6 minus answer to statement 7.
B) Mastermind: In the first field of the first row there is a secret blank number formed by four
different digits between 0 and 9. The following rows indicate attempts to find out the secret
number. Each try has, in the column to the right, its grade with letters R (right) and B (bingo).
Each R indicates that this number has one digit in common with the secret number, but in a
different position. Each B indcates that the number has one digit in common with the secret number
in the same position.
Find out the secret number:
-------------------------------------
| (fill me in) | B B B B | <----- What is number?
-------------------------------------
| 8 9 5 1 | R R |
-------------------------------------
| 2 1 6 9 | R B |
-------------------------------------
| 3 6 9 4 | R B |
-------------------------------------
| 4 7 2 1 | R B |
-------------------------------------
| 1 2 3 7 | R R R |
-------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment