advent-of-code/2020/solutions/4
2021-12-01 11:43:46 +01:00
..
go move to 2020 fodler 2021-12-01 11:43:46 +01:00
python move to 2020 fodler 2021-12-01 11:43:46 +01:00
data.txt move to 2020 fodler 2021-12-01 11:43:46 +01:00
README.md move to 2020 fodler 2021-12-01 11:43:46 +01:00
test.txt move to 2020 fodler 2021-12-01 11:43:46 +01:00

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