Compare commits
51 commits
3e5ef59671
...
a2c2517a7f
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | a2c2517a7f | ||
Bruno BELANYI | e62325a60a | ||
Bruno BELANYI | 3967b92757 | ||
Bruno BELANYI | 98841cf3db | ||
Bruno BELANYI | b40a56679b | ||
Bruno BELANYI | 2f699b358e | ||
Bruno BELANYI | 4009264f57 | ||
Bruno BELANYI | ec1caac856 | ||
Bruno BELANYI | bbea9b4ff7 | ||
Bruno BELANYI | 273ba69b90 | ||
Bruno BELANYI | 55ba53cf2c | ||
Bruno BELANYI | 68a8f85b2f | ||
Bruno BELANYI | bb1a65771c | ||
Bruno BELANYI | 88a363a860 | ||
Bruno BELANYI | bd6b7d3a41 | ||
Bruno BELANYI | 73caa65bac | ||
Bruno BELANYI | 080df14cb3 | ||
Bruno BELANYI | ee3e84ed94 | ||
Bruno BELANYI | fd72f17d19 | ||
Bruno BELANYI | 72345b56b0 | ||
Bruno BELANYI | d27bcfa2cd | ||
Bruno BELANYI | 7662776bcb | ||
Bruno BELANYI | 94185c4f8f | ||
Bruno BELANYI | 6d10eceaf9 | ||
Bruno BELANYI | 1ff2d43e55 | ||
Bruno BELANYI | 6200f68a3c | ||
Bruno BELANYI | 167b7e09cb | ||
Bruno BELANYI | ddd01a3c61 | ||
Bruno BELANYI | b43044a693 | ||
Bruno BELANYI | 74673e32aa | ||
Bruno BELANYI | 242b3c20fe | ||
Bruno BELANYI | 4232c62096 | ||
Bruno BELANYI | 21a1039030 | ||
Bruno BELANYI | ac779bb621 | ||
Bruno BELANYI | 15e7cf5eff | ||
Bruno BELANYI | 039e7f5214 | ||
Bruno BELANYI | ea66011fef | ||
Bruno BELANYI | daa87d923d | ||
Bruno BELANYI | 2177287e01 | ||
Bruno BELANYI | 484a9722ad | ||
Bruno BELANYI | 614d3447c5 | ||
Bruno BELANYI | 8acf8aadaf | ||
Bruno BELANYI | b15c1a0d57 | ||
Bruno BELANYI | cba9dd02f8 | ||
Bruno BELANYI | 7956b96baa | ||
Bruno BELANYI | 4b03030ed6 | ||
Bruno BELANYI | a21310895c | ||
Bruno BELANYI | 05a6845e83 | ||
Bruno BELANYI | 357c18a5fa | ||
Bruno BELANYI | 175706ca68 | ||
Bruno BELANYI | b1bec40137 |
|
@ -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 itertools.pairwise(input))
|
return sum(prev < cur for (prev, cur) in zip(input, input[1:]))
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
|
Loading…
Reference in a new issue