6
This commit is contained in:
parent
354dac8de7
commit
e1a4d88b80
1 changed files with 3 additions and 0 deletions
3
day06.py
Normal file
3
day06.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
inp = input().strip()
|
||||||
|
print(next(i + 4 for i in range(len(inp)) if len(set(inp[i : i + 4])) == 4))
|
||||||
|
print(next(i + 14 for i in range(len(inp)) if len(set(inp[i : i + 14])) == 14))
|
Loading…
Reference in a new issue