Update day23.py
This commit is contained in:
parent
85963260a8
commit
f0b9c12b09
|
@ -3,6 +3,7 @@ from typing import Tuple
|
||||||
|
|
||||||
|
|
||||||
# Implementation uses generic python list -> pretty inefficient; too slow for part 2
|
# Implementation uses generic python list -> pretty inefficient; too slow for part 2
|
||||||
|
# (it's a pure function though ;) )
|
||||||
def move_cups(cups: list[int]) -> list[int]:
|
def move_cups(cups: list[int]) -> list[int]:
|
||||||
cups_round = cups[4:]
|
cups_round = cups[4:]
|
||||||
current = cups[0]
|
current = cups[0]
|
||||||
|
|
Loading…
Reference in a new issue