Solution for day 6 in matlab.

This commit is contained in:
2017-12-06 12:14:15 +01:00
parent dcff672eeb
commit ed9f1f7c7d
3 changed files with 28 additions and 0 deletions

7
2017/day-06/README.md Normal file
View File

@@ -0,0 +1,7 @@
# Usage
Since this solution is in matlab, it works a bit differently. You can
solve part 1 by calling `solution([original division of wealth])`, which
returns the number of cycles and the point at which it repeated. You can
then call `solution` again with that repetition point to get the length
of that cycle.