advent-of-code/2020/solutions/4/README.md

373 B

4

This one was a lot of parsing, but nothing regexp can't do. The first is quite straight forward, just check that all but cid are present.

The second was a bit of validation for each field, but again some simple regexp and number checking and the job is done 🙂

Solutions
  1. 206
  2. 123