A new game is played by giving the user up to seven guesses to figure out a letterle (pronounced: letter-el). A letterle consists of five letters (A-Z), in a specific order. After each guess, the user is given feedback as to the correctness of their guess. Feedback is provided as a five letter string containing only the following letters: X, Y and G. X = letter in this position does not appear in the letterle Y = letter in this position appears in the letterle, but it is not in the correct position G = letter in this position is correct (good). For this problem, you will write a program that generates the feedback for up to seven guesses for a supplied letterle.
全网最全C++题库,助您挑战自我,突破极限,成为编程领域的佼佼者!HBC236494碱基配对Letterle题解
想要成为编程高手?那就来试试全网最全C++题库,让您在练习中快速成长。