Skip to content / Đến nội dung
ThichHocToan.com

Bebras 2022 - Level 5 Question 14

BEBRAS · Bebras 2022 - Level 5

Question 14

George is playing a number-guessing game with a computer. The computer randomly chooses a four-digit number with distinct digits. George then makes several guesses. For each guess, the computer tells him how many digits it shares with the chosen number and whether they are in the correct positions.

George's guesses and the computer's replies are shown below.

Question illustration

| ???? | Computer reply |
|---|---|
| 5720 | One digit is correct and in the correct position. |
| 6031 | One digit is correct but in the wrong position. |
| 1485 | Two digits are correct but in the wrong positions. |
| 1596 | No digit is correct. |
| 8125 | One digit is correct but in the wrong position. |

Which number did the computer choose?
  1. 4580
  2. 5193
  3. 7845
  4. 3748