summaryrefslogtreecommitdiffstats
path: root/2019/day1/README.md
blob: af0b60e2a433ec7621392d68b6afe85e529d664c (plain)
1
2
3
4
5
I realized part 1 can be solved with a perl one liner;

```bash
perl -ne '$c += int ($_ / 3) - 2;END {print $c}' < part1.in
```