-
-
Save yellis/2ee50bd0b51de21a7274 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS E:\Code\CodeGolf\HiLow> scriptcs test.txt | |
WhileURong(USayNumbr;ISayBigrOrSmalr) | |
0 | |
TOO LOW | |
10000 | |
TOO LOW | |
20000 | |
TOO LOW | |
25000 | |
TOO HIGH | |
22500 | |
TOO HIGH | |
21500 | |
TOO LOW | |
22000 | |
TOO HIGH | |
21750 | |
TOO LOW | |
21900 | |
TOO HIGH | |
21800 | |
TOO HIGH | |
21775 | |
TOO LOW | |
21785 | |
TOO LOW | |
21790 | |
TOO LOW | |
21795 | |
TOO HIGH | |
21793 | |
TOO HIGH | |
21792 | |
Congrats! You found the number in 16 turns! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See here for more info