1a1b
1a1b (often written as 1A1B) is a score notation used in bulls-and-cows style guessing games to communicate feedback about a guessed code. In this system, the letter A denotes a digit that is correct and in the correct position, while B denotes a correct digit that is in the code but in the wrong position. The string 1A1B therefore means one digit is in the right place and one other digit is present but misplaced.
The notation is commonly used in games where players try to deduce a secret sequence of digits
Example: with a secret 1234 and a guess 1325, the feedback is 1A2B. The first digit '1'
Origins and usage: the A/B feedback convention derives from the Bulls and Cows puzzle and has become
See also: Bulls and Cows, Mastermind, number-guessing puzzles.