Skip to content

Instantly share code, notes, and snippets.

@yellis
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yellis/2ee50bd0b51de21a7274 to your computer and use it in GitHub Desktop.
Save yellis/2ee50bd0b51de21a7274 to your computer and use it in GitHub Desktop.
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!
@yellis
Copy link
Author

yellis commented Mar 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment