day 7 python slight improvement
parent
d2d54b8a6e
commit
0a590f5d36
|
@ -33,10 +33,6 @@ for cmd in cmds:
|
|||
|
||||
print(sizes)
|
||||
|
||||
t = 0
|
||||
for sz in sizes.values():
|
||||
if sz <= 100000:
|
||||
t += sz
|
||||
print(t)
|
||||
print(sum(sz for sz in sizes.values() if sz <= 100000))
|
||||
|
||||
print(min(sz for sz in sizes.values() if 70000000 - sizes[''] + sz >= 30000000))
|
||||
|
|
Loading…
Reference in New Issue