From 41bb1f3e92dd3f719aac69c50945f2b2490baf30 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 1 Dec 2019 00:25:59 -0500 Subject: Solve day 1 part 2 --- 2019/day01-2.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 2019/day01-2.sh diff --git a/2019/day01-2.sh b/2019/day01-2.sh new file mode 100644 index 0000000..806d56f --- /dev/null +++ b/2019/day01-2.sh @@ -0,0 +1 @@ +sed 's,.*,a=&/3-2;b=a;while(b/3-2>0){b=b/3-2;a+=b};.+a,'|bc -- cgit 1.4.1