This commit is contained in:
Sebastian Seedorf
2022-12-06 12:47:57 +01:00
parent 1b18edd0ba
commit c476f87437
5 changed files with 22 additions and 0 deletions

3
day06/part1.min.py Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env python3
print(next(i+4for l in open("input.txt")for i in range(len(l))if len(set(l[i:i+4]))==4))