Day 01 (minify)

This commit is contained in:
Sebastian Seedorf
2021-12-02 12:58:09 +01:00
parent 93d12a4169
commit 53270a7a90
3 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,6 @@ cnt = 0
for line in lines:
if last[0] < line:
cnt += 1
last = last[1:] + [line]
last = [*last[1:], line]
print(cnt)