type annotations++
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user