fix day3_1 undefined var

This commit is contained in:
Luna 2018-12-03 02:48:50 -03:00
parent 633aa495a5
commit f8d8b7fd78

View file

@ -14,7 +14,7 @@ def main():
cloth.insert(i, [])
for j in range(1000):
cloth[i].insert(j, None)
print('allocation done')
while True:
@ -47,7 +47,7 @@ def main():
cloth[i][j].append(claim)
print('result: ', cloth[i][j])
overlaps = []
overlap = 0
for i in range(1000):
for j in range(1000):