day 22 optimization
parent
f805d9d373
commit
2635e69315
|
@ -71,7 +71,7 @@ def canlower(block, under):
|
|||
if block[2][0] <= 1:
|
||||
return False
|
||||
x = lower(block)
|
||||
for u in under:
|
||||
for u in reversed(under):
|
||||
if overlaps(u, x):
|
||||
return False
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue