Advent of Code 2023 - Day 4

Опубликовано: 30 Март 2026
на канале: Jonathan Paulson
9,334
125

I placed 58th on part 1; 9th on part 2; 6th overall.

Problem: https://adventofcode.com/2023/day/4
Solution: https://github.com/jonathanpaulson/Ad...

I got a wrong answer on part 1 because I misread how the scoring system worked (I thought it was N points for N matches, but actually it was 2**{N-1} points for N matches). For N=0,1,2 (which were the short examples) these are the same.