Compare commits
51 commits
a2c2517a7f
...
3e5ef59671
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 3e5ef59671 | ||
Bruno BELANYI | f2331dbaf1 | ||
Bruno BELANYI | 93a241ba38 | ||
Bruno BELANYI | 424f39d844 | ||
Bruno BELANYI | 9f6f1c2a9e | ||
Bruno BELANYI | e84de2a82a | ||
Bruno BELANYI | 802f7f3168 | ||
Bruno BELANYI | 49756a71e6 | ||
Bruno BELANYI | 1bd39e43bc | ||
Bruno BELANYI | dda9924c8e | ||
Bruno BELANYI | c497aae45b | ||
Bruno BELANYI | 8baddf31df | ||
Bruno BELANYI | 01dfdd9bb4 | ||
Bruno BELANYI | 33f60c1d19 | ||
Bruno BELANYI | ff86d047b6 | ||
Bruno BELANYI | 165b79a0fb | ||
Bruno BELANYI | 6ec5dda4b4 | ||
Bruno BELANYI | f699215b2e | ||
Bruno BELANYI | 5d633c979c | ||
Bruno BELANYI | 3a85e20bc7 | ||
Bruno BELANYI | 32785096ee | ||
Bruno BELANYI | c8b8c7338e | ||
Bruno BELANYI | 2a6bfcd7c5 | ||
Bruno BELANYI | 59eb0b5ca4 | ||
Bruno BELANYI | 8995d2914e | ||
Bruno BELANYI | 9086ca6d5d | ||
Bruno BELANYI | f61240842c | ||
Bruno BELANYI | f31b57130a | ||
Bruno BELANYI | fd18cc3f10 | ||
Bruno BELANYI | f3282f245e | ||
Bruno BELANYI | 7958f2a1ed | ||
Bruno BELANYI | 6b60bfa88e | ||
Bruno BELANYI | c004ece315 | ||
Bruno BELANYI | 6462f8e887 | ||
Bruno BELANYI | 8e488c872f | ||
Bruno BELANYI | 66219d64f2 | ||
Bruno BELANYI | fe4978bc79 | ||
Bruno BELANYI | 35b6e4410a | ||
Bruno BELANYI | 1dc647e60b | ||
Bruno BELANYI | 43a15256b8 | ||
Bruno BELANYI | 606613c1d2 | ||
Bruno BELANYI | 076fb1738d | ||
Bruno BELANYI | 1b66afbacb | ||
Bruno BELANYI | 1d075e3ce9 | ||
Bruno BELANYI | 1fa4270c21 | ||
Bruno BELANYI | acc456d71c | ||
Bruno BELANYI | 73bc7fc512 | ||
Bruno BELANYI | a59e86a45f | ||
Bruno BELANYI | dceb95810a | ||
Bruno BELANYI | b754237ac6 | ||
Bruno BELANYI | bb6ff9c44a |
|
@ -6,7 +6,7 @@ from typing import List
|
||||||
|
|
||||||
|
|
||||||
def solve(input: List[int]) -> int:
|
def solve(input: List[int]) -> int:
|
||||||
return sum(prev < cur for (prev, cur) in zip(input, input[1:]))
|
return sum(prev < cur for (prev, cur) in itertools.pairwise(input))
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
|
Loading…
Reference in a new issue