Two players - the computer and you - are playing as follows. You are thinking about a
four-color sequence (not necessarily different) chosen out of six possible colors. The
computer (your program) must find this sequence using the information the computer get
from your answers. You will answer the computer's questions after every new generated
sequence. The only possible questions are:
"How many colors are right but not in right places ?" | |
"How many right colors are in right places ?" |
Example: Let your sequence be 4655. One possible way to find this sequence may be
|
|||||||||||||||
Find a correct sequence of
entries in order to solve the problem. (15 points) |
|||||||||||||||
Find, if possible, a solution in six steps at most. (15 points) |