DEV Community


Discussion on: Advent of Code 2020 Solution Megathread - Day 1: Report Repair

johnnyjayjay profile image

I'm also doing it in C this year! I'm also fairly new to the language and pretty much the only thing I've done differently is use fscanf instead of fgets in conjunction with atoi

(+ I've optimised a little bit to do both parts in the same loop)