MathDB
Problems
Contests
National and Regional Contests
Chile Contests
Chile National Olympiad
1990 Chile National Olympiad
7
7
Part of
1990 Chile National Olympiad
Problems
(1)
mastermind game in olympiad problem (Chile NMO 1990 P7)
Source:
11/20/2021
It is about deciphering the code
C
1
C
2
C
3
C
4
C_1C_2C_3C_4
C
1
C
2
C
3
C
4
in which each letter is one of the colors: white
(
B
)
(B)
(
B
)
, blue
(
A
)
(A)
(
A
)
, red
(
R
)
(R)
(
R
)
, green
(
V
)
(V)
(
V
)
, black
(
N
)
(N)
(
N
)
and brown
(
C
)
(C)
(
C
)
with allowed repetitions. Four were made attempts to decipher it.
N
A
V
B
NAVB
N
A
V
B
and
A
C
R
C
ACRC
A
CRC
have two color hits, but in wrong places.
R
B
A
C
RBAC
RB
A
C
and
V
R
B
A
VRBA
V
RB
A
have one color match in the correct place, and two other color matches, in places incorrect. Determine all combinations compatible with the information.
combinatorics
Coloring