Part two is solved by repeatedly removing all free rolls until there are no more rolls to remove. When removing the rolls we keep a running count of how many rolls we've removed. |
||
|---|---|---|
| .. | ||
| Day1.hs | ||
| Day2.hs | ||
| Day3.hs | ||
| Day4.hs | ||
| Main.hs | ||
Part two is solved by repeatedly removing all free rolls until there are no more rolls to remove. When removing the rolls we keep a running count of how many rolls we've removed. |
||
|---|---|---|
| .. | ||
| Day1.hs | ||
| Day2.hs | ||
| Day3.hs | ||
| Day4.hs | ||
| Main.hs | ||