fix day3_1 undefined var
This commit is contained in:
parent
633aa495a5
commit
f8d8b7fd78
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ def main():
|
||||||
cloth.insert(i, [])
|
cloth.insert(i, [])
|
||||||
for j in range(1000):
|
for j in range(1000):
|
||||||
cloth[i].insert(j, None)
|
cloth[i].insert(j, None)
|
||||||
|
|
||||||
print('allocation done')
|
print('allocation done')
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
@ -47,7 +47,7 @@ def main():
|
||||||
cloth[i][j].append(claim)
|
cloth[i][j].append(claim)
|
||||||
print('result: ', cloth[i][j])
|
print('result: ', cloth[i][j])
|
||||||
|
|
||||||
overlaps = []
|
overlap = 0
|
||||||
|
|
||||||
for i in range(1000):
|
for i in range(1000):
|
||||||
for j in range(1000):
|
for j in range(1000):
|
||||||
|
|
Loading…
Reference in a new issue