diff options
Diffstat (limited to '2019/day1/README.md')
-rw-r--r-- | 2019/day1/README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/2019/day1/README.md b/2019/day1/README.md new file mode 100644 index 0000000..af0b60e --- /dev/null +++ b/2019/day1/README.md | |||
@@ -0,0 +1,5 @@ | |||
1 | I realized part 1 can be solved with a perl one liner; | ||
2 | |||
3 | ```bash | ||
4 | perl -ne '$c += int ($_ / 3) - 2;END {print $c}' < part1.in | ||
5 | ``` | ||