Bulls and cows/Player: Difference between revisions

Content added Content deleted
imported>Algol68G
imported>Algol68G
Line 290: Line 290:
IN # No elements. # printf ($l"Inconsistent scores"l$),
IN # No elements. # printf ($l"Inconsistent scores"l$),
# One element. # printf (($l"Solution is "4(xd)l$, sieved[1]))
# One element. # printf (($l"Solution is "4(xd)l$, sieved[1]))
OUT # printf (($l"["g(0)"]"x4(xd)": "$, UPB sieved, sieved[1])); #
OUT printf (($l4(dx)$, sieved[1]));
printf (($l4(dx)$, sieved[1]));
# Read the score as a sequence of "c" and "b". #
# Read the score as a sequence of "c" and "b". #
INT col ok := 0, pos ok := 0, STRING z := "";
INT col ok := 0, pos ok := 0, STRING z := "";