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

15 lines
373 B
Markdown
Raw Permalink Normal View History

2020-12-04 05:40:52 +00: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 🙂
<details>
<summary>Solutions</summary>
<ol>
<li>206</li>
<li>123</li>
</ol>
</details>