This commit is contained in:
2020-12-07 10:03:42 +01:00
parent 10f1b28021
commit 05708afad8
4 changed files with 688 additions and 0 deletions

15
solutions/7/README.md Normal file
View File

@@ -0,0 +1,15 @@
# 7
This one was maybe the coolest yet! Fixed-point iteration and some recursion. Amazing :)
For the first part we iterate as long as we don't find any enclosing bags anymore. This can build long chains.
The second we recurse down the bag chain und sum it up recursively.
<details>
<summary>Solutions</summary>
<ol>
<li>164</li>
<li>7872</li>
</ol>
</details>