Also, there's solutions in every language here in the analysis:
https://codejam.withgoogle.com/2018/challenges/0130/analysis/0523
On Fri, Apr 6, 2018 at 1:48 PM Bartholomew Furrow wrote:
> Sure! Here's my solution in Python 3:
>
> T = int(input())
> COR = 'CORRECT'
> SMA
Sure! Here's my solution in Python 3:
T = int(input())
COR = 'CORRECT'
SMALL = 'TOO_SMALL'
BIG = 'TOO_BIG'
for qw in range(1, T+1):
a, b = map(int, input().split())
n = int(input())
while True:
mid = (a + b + 1) // 2
print(mid, flush=True)
result = input().strip()
if result == COR:
break
elif res