mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2024-12-23 00:26:27 +00:00
15 lines
373 B
Markdown
15 lines
373 B
Markdown
|
# 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>
|