Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 21st, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
def start_over
@small, @big = 1, 100
guess
end
def guess
(@small + @big) >> 1
end
def smaller
@big = guess + 1
guess
end
def bigger
@small = guess - 1
guess
end
start_over
Add Comment
Please,
Sign In
to add comment
Public Pastes
Dragonvale Plant Farming AHK Script No Loggin...
Autohotkey | 15 min ago | 1.63 KB
Dragonvale Plant Farming AHK Script
Autohotkey | 30 min ago | 3.62 KB
Track Time rev_04
Arduino | 50 min ago | 3.77 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 51 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 52 min ago | 0.38 KB
Track Time rev_03
Arduino | 60 min ago | 3.19 KB
Track Time rev_02
Arduino | 1 hour ago | 2.86 KB
date_utility
Python | 1 hour ago | 3.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!