summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-01 00:25:59 -0500
committerJune McEnroe <june@causal.agency>2019-12-01 00:29:49 -0500
commit41bb1f3e92dd3f719aac69c50945f2b2490baf30 (patch)
tree462c86abf87ce73500009e7286e94170b8ccf2ed
parentSolve day 1 part 1 (diff)
downloadaoc-41bb1f3e92dd3f719aac69c50945f2b2490baf30.tar.gz
aoc-41bb1f3e92dd3f719aac69c50945f2b2490baf30.zip
Solve day 1 part 2
Diffstat (limited to '')
-rw-r--r--2019/day01-2.sh1
1 files changed, 1 insertions, 0 deletions
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
p;id=d01a6eec4355af5266b114760c7264a2e6bf73fc&follow=1'>parsing: fix header typoJason A. Donenfeld 2014-01-10cgit.c: Fix comment on bit mask hackLukas Fleischer 2014-01-10cgit.c: Use "else" for mutually exclusive branchesLukas Fleischer 2014-01-10ui-snapshot.c: Do not reinvent suffixcmp()Lukas Fleischer 2014-01-10Refactor cgit_parse_snapshots_mask()Lukas Fleischer 2014-01-10Disallow use of undocumented snapshot delimitersLukas Fleischer 2014-01-10Replace most uses of strncmp() with prefixcmp()Lukas Fleischer 2014-01-09README: Fix dependenciesLukas Fleischer 2014-01-08README: Spelling and formatting fixesLukas Fleischer 2014-01-08Fix UTF-8 with syntax-highlighting.pyPřemysl Janouch 2014-01-08Add a suggestion to the manpagePřemysl Janouch 2014-01-08Fix the example configurationPřemysl Janouch 2014-01-08Fix about-formatting.shPřemysl Janouch 2014-01-08Fix some spelling errorsPřemysl Janouch 2014-01-08filters: highlight.sh: add css comments for highlight 2.6 and 3.8Ferry Huberts