[TASK] Solved day 18 (better late than never)

This commit is contained in:
2020-12-19 20:07:56 +01:00
parent ff2a2c5bb3
commit 006eb5f19e
4 changed files with 584 additions and 1 deletions

7
input/day18_example.txt Normal file
View File

@@ -0,0 +1,7 @@
1 + (2 * 3) + (4 * (5 + 6))
1 + 2 * 3 + 4 * 5 + 6
2 * 3 + (4 * 5)
5 + (8 * 3 + 9 + 3 * 4 * 3)
5 * 9 * (7 * 3 * 3 + 9 * 3 + (8 + 6 * 4))
((2 + 4 * 9) * (6 + 9 * 8 + 6) + 6) + 2 + 4 * 2
6 * ((3 + 4 * 3 * 7 * 8) * 8 + (9 + 5 + 2 * 3) * 3 * 2) + 7 + 8 * 8 + 4