Day 06 (minified)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
print(next(i+14for l in open("input.txt")for i in range(len(l))if len(set(l[i:i+14]))==14))
|
||||
print(next(i+14for l in open("input.txt")for i in range(len(l))if len({*l[i:i+14]})==14))
|
||||
Reference in New Issue
Block a user