From fbb0c3dd1ca55424745df8a658b11391ae172d61 Mon Sep 17 00:00:00 2001 From: June 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 (limited to '2019') 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