Skip to content

lecture03 HomeWork 2 #1041

@maris-cyber

Description

@maris-cyber

Спасибо! Классный курс!

Есть проблема с домашней работой №2 из лекции 3.

https://en.wikipedia.org/wiki/Bulls_and_Cows
Цитата:
"The game play for the word version is as follows.

  • One player (the Host) thinks of an isogram word (i.e. no letter appears twice) and, if the word length is not pre-determined, announces the number of letters in the word.
  • Other players (the Guessers) try to figure out that word by guessing isogram words containing the same number of letters.
  • The Host responds with the number of Cows & Bulls for each guessed word. As with the digit version, "Cow" means a letter in the wrong position and "Bull" means a letter in the right position."

Слова же не должны содержать повторяющиеся символы?
Ну или надо определить правила оценки результатов для слов с повторяющимися символами.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions