Commit graph

203 commits

Author SHA1 Message Date
cb850a5b5e Add new Elixir template 2022-11-27 18:04:58 +09:00
4955687b53 Gave up on zig 2020, restore just the elixir version 2022-11-27 15:58:41 +09:00
1f7c32b758 Rework a bit to avoid manually counting double newlines.
Also store the hashmap directly in the arraylist, although no idea
how the memory management works.
2022-08-14 18:14:49 +09:00
fc0eb4a63c Remove 2021 for now as redoing 2020 instead 2022-08-14 14:36:10 +09:00
2ebd8fe609 Initial attempt at day 4 part 1 2022-08-14 02:26:52 +09:00
280e6fcf2b use mod operator 2022-08-14 00:46:10 +09:00
9a81f47677 Day3 Part 2 2022-08-13 22:34:20 +09:00
6bf0d44e09 Day3 part 1 2022-08-13 22:17:55 +09:00
8861ce0b8e no need to return error union 2022-08-12 01:31:10 +09:00
c02b8af2aa Fix a memory leak, maybe? 2022-08-12 00:32:02 +09:00
59157c5a11 extract parsing code for day2 + tidy 2022-08-12 00:22:15 +09:00
462ab21364 Day 2 part 2 2022-08-11 23:53:24 +09:00
be7c251662 Day 2 part 1 2022-08-11 23:30:52 +09:00
6d677300ee Move input to cwd 2022-08-11 18:57:01 +09:00
8a7dab06d2 slightly nicer layout 2022-08-11 18:55:26 +09:00
ba09492857 Day 1 part 2 2022-08-11 18:45:13 +09:00
26f694c449 Refactor day1 into part1 function 2022-08-11 18:41:00 +09:00
9c22642be4 Day 1 part 1! 2022-08-11 18:32:17 +09:00
46582ed853 Add AoC Zig template 2022-08-11 16:34:17 +09:00
39c28b5897 Move 2020 elixir solutions to 2020/elixir in prep for zig 2022-08-11 16:22:22 +09:00
2c69ef4b78 Update links for Gitea 2022-08-08 21:47:24 +09:00
cd77059be3
Create README.md 2021-12-26 22:21:45 +09:00
550a937d44
Create README.md 2021-12-26 22:18:53 +09:00
bd4acc8f17 Add 2018 2021-12-26 22:10:19 +09:00
675985e57d Move 2020 stuff to 2020/ 2021-12-26 22:09:15 +09:00
cfdb8ef33e Day 21 Parts 1 and 2 2020-12-30 06:10:46 +09:00
d67da418b7 Remove unneeded insert 2020-12-26 02:37:33 +09:00
c9e6f4bf97 Day 23 Parts 1 and 2 2020-12-26 02:09:13 +09:00
2786c71627 Day 25 Part 1 2020-12-25 16:45:16 +09:00
0e55fb96df Day 24 Parts 1 and 2 2020-12-24 23:21:06 +09:00
f109646239
Add forum link to nice implementation for day 18 2020-12-21 12:22:41 +09:00
e6991afe00 Day 17 Parts 1 and 2 2020-12-21 12:10:01 +09:00
d607504faf Day 18 Part 2 2020-12-21 01:12:26 +09:00
7a46852b23 Simplify 2020-12-18 18:13:33 +09:00
1a687a0036 Day 18 Part 1 2020-12-18 17:34:03 +09:00
7a1ed0c974 Remove one more unneeded map 2020-12-18 12:36:08 +09:00
07c5ebcb1e more tweaking 2020-12-17 13:59:36 +09:00
44092ab958 Add version with simpler transpose 2020-12-17 12:47:15 +09:00
ab7c6d5d33 reduce -> map_reduce 2020-12-17 12:07:00 +09:00
cd95b1713c Tidy up Day 16 Part 2
Fewer maps, simpler variable names, break up complex function
2020-12-17 11:56:02 +09:00
343d2ef962 Tidy Day 16 2020-12-16 23:57:57 +09:00
3cff76a05b Day 16 Initial Version - will tidy up later 2020-12-16 20:54:50 +09:00
9ba86e15c4 Better variable names, extract next_num function 2020-12-16 09:09:58 +09:00
de859650bc Forgot to add answer to Day 13 Part 1 2020-12-16 03:47:17 +09:00
da0707660e Cheat to solve Day 13 Part 2 2020-12-16 01:41:12 +09:00
d19ae04554 Rename module 2020-12-15 15:53:41 +09:00
bbb8ba7251 Day 15 Parts 1 and 2 2020-12-15 15:31:45 +09:00
1318f63b25 Day 14 Part 2 2020-12-15 14:00:41 +09:00
facf77e829 Day 14 Part 1 2020-12-14 20:57:38 +09:00
c245b18028 Day 13 Part 1 and WIP Part 2 2020-12-14 03:19:32 +09:00