Anonymous user
Bulls and cows/Player: Difference between revisions
→{{header|ALGOL 68}}
imported>Algol68G No edit summary |
imported>Algol68G |
||
Line 253:
The sequence you thought has to be: 8 3 9 5</pre>
=={{header|ALGOL 68}}==
<syntaxhighlight lang="
# This breaks a unique code of `n' pegs and `m' colours you think of. #
Line 329:
Solution is 6 5 4 3
</pre>
=={{header|AutoHotkey}}==
<syntaxhighlight lang="ahk">length:=4, i:=0, S:=P(9,length)
|