From bf16b19b1f6deffd1983efca059db576f3b60ee5 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 13 Dec 2021 10:40:39 +0300 Subject: 2019, tracking --- 2019/day1/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 2019/day1/README.md (limited to '2019/day1/README.md') 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 @@ +I realized part 1 can be solved with a perl one liner; + +```bash +perl -ne '$c += int ($_ / 3) - 2;END {print $c}' < part1.in +``` -- cgit v1.2.3-70-g09d2