Advent of Code 2021
►https://adventofcode.com
Salut, les #devs !
The first puzzles will unlock on December 1st at midnight EST (UTC-5). See you then!
Advent of Code 2021
►https://adventofcode.com
Salut, les #devs !
The first puzzles will unlock on December 1st at midnight EST (UTC-5). See you then!
Calendrier de l’Avent en katas de programmation.
Deux exercices par jour, pas de langage imposé, il faut seulement trouver le bon résultat chaque jour. Et si on en rate, on peut rattraper plus tard.
►http://adventofcode.com
The captcha requires you to review a sequence of digits (your puzzle input) and find the sum of all digits that match the next digit in the list. The list is circular, so the digit after the last digit is the first digit in the list.
For example:
1122 produces a sum of 3 (1 + 2) because the first digit (1) matches the second digit and the third digit (2) matches the fourth digit.
1111 produces 4 because each digit (all 1) matches the next.
1234 produces 0 because no digit matches the next.
91212129 produces 9 because the only digit that matches the next one is the last digit, 9.
What is the solution to your captcha?