try byte reductions

This commit is contained in:
Alex Groce 2018-09-05 14:08:35 -07:00
parent fc57ba1628
commit 44074cfd49

View File

@ -179,9 +179,11 @@ def main():
banews.append(ba[0:1])
banews.append(ba[1:2])
if ba[0] > 0:
banews.append(bytearray([ba[0]-1, ba[1]]))
banews.append(bytearray([ba[0]-1]))
if ba[1] > 0:
banews.append(bytearray([ba[0], ba[1]-1]))
for banew in banews:
print(b1, b2, repr(ba), " TO ", repr(banew))
newTest = part1 + banew + part2 + banew + part3
r = writeAndRunCandidate(newTest)
if checks(r):