type annotations++

This commit is contained in:
2022-12-07 15:13:28 +01:00
parent fdb7fe64e6
commit 3a65fdf38e

View File

@@ -2,7 +2,7 @@ from aocd.models import Puzzle
from aocd import submit
def get_marker_pos(signal, N):
def get_marker_pos(signal: str, N: int) -> int:
"""
iterate over input signal and find the first occurence
where the set from i to i+N equals N. This means there