advent2021

Advent of Code 2021 Solutions
git clone git://bsandro.tech/advent2021
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2022-07-07 20:48added readme and licensebsandro2+30-0
2021-12-26 00:42Day 23bsandro5+102-0
2021-12-25 21:12Day 19 part 1+2 finallybsandro1+133-80
2021-12-25 13:45Day 25 compiler optimizationsbsandro1+3-3
2021-12-25 11:38Day 25 puzzle 1bsandro1+51-41
2021-12-25 11:12Merge branch 'master' of bsandro.tech:~/repos/advent2021bsandro3+9-9
2021-12-25 11:12Day 25 part 1 test onlybsandro5+351-0
2021-12-25 01:41Compilation fixes (OpenBSD)bsandro3+9-9
2021-12-24 23:44Day 24, part 1+2 solution made by hand but the puzzle was not fun anywaybsandro1+23-16
2021-12-24 18:40Day 24, trying to bruteforce p.1 (fruitlessly)bsandro5+528-0
2021-12-24 11:02util.c checksbsandro1+1-0
2021-12-24 11:01Day22, puzzle 2bsandro5+137-63
2021-12-22 23:20cuboids -> sequencebsandro1+11-11
2021-12-22 23:13Day 22, puzzle 1 (dumb)bsandro5+679-0
2021-12-22 19:39Day 22, puzzle 2bsandro2+124-20
2021-12-21 23:28Day 21, puzzle 1 (trashcan solution)bsandro5+182-0
2021-12-21 02:08Day 20, puzzles 1 and 2bsandro6+374-0
2021-12-20 01:36Day 19 part 1 wipbsandro2+95-1
2021-12-19 21:36Day 19, puzzle 1 WIP (scared to lose progress lol)bsandro5+1152-0
2021-12-19 16:12Day 10 qs -> stdlib qsortbsandro2+13-5
2021-12-19 16:02Day 07 stdlib qsort instead of my potato onebsandro3+10-34
2021-12-19 15:32Day 18, puzzles 1+2bsandro4+223-77
2021-12-19 03:25day18 trying to parsebsandro5+295-0
2021-12-18 07:00Day 17, puzzles 1-2 (hacky lazy variant that I am ashamed of)bsandro5+188-0
2021-12-17 01:58Day 16, puzzle 2bsandro10+102-31
2021-12-17 00:58Day 16, puzzle 1bsandro11+254-0
2021-12-16 08:48Day 15, enabled -O2 compiler optimizationsbsandro1+1-1
2021-12-16 00:06Day 15, puzzle 2 (slowest A* in the world)bsandro2+59-36
2021-12-15 23:05Day 15, puzzle 1bsandro5+360-0
2021-12-15 00:43strlcat/strlcpy -> strncpy (portability effort)bsandro1+3-2
2021-12-15 00:28Day 14 cleanupbsandro1+3-84
2021-12-15 00:22Day 14, puzzle 2 (non-cleaned version)bsandro2+225-70
2021-12-14 07:13Day 14, puzzle 1 (dumb solution)bsandro5+381-0
2021-12-13 22:05Day 13, puzzle 2bsandro2+36-16
2021-12-13 21:33Day 13, puzzle 1bsandro5+1253-0
2021-12-13 01:09strncpy boundaries checkedbsandro1+2-2
2021-12-13 01:04Day 12, puzzle 2bsandro2+42-23
2021-12-12 20:30Day 12, puzzle 1bsandro7+373-0
2021-12-11 14:42-O2 build flag for allbsandro5+4-6
2021-12-11 14:25(Once again) fixed isdigit(3) usage for NetBSD :)bsandro1+1-1
2021-12-11 14:20Script for measuring cumulative run timebsandro1+3-0
2021-12-11 14:18Small clean upbsandro6+20-6
2021-12-11 09:49Day 11, puzzle 2bsandro1+12-6
2021-12-11 09:42Day 11, puzzle 1bsandro5+189-0
2021-12-11 07:40Day 10 bugfix (memory corruption)bsandro12+8-12
2021-12-10 21:20Script to compile/run all of the puzzles available at oncebsandro15+91-39
2021-12-10 20:29Quicksort works with long long type only now.bsandro4+38-16
2021-12-10 20:18Day 10, puzzle 2bsandro3+72-36
2021-12-10 18:21Day 10, puzzle 1bsandro5+274-0
2021-12-10 17:35Removed debug printfs from day09 solutionsbsandro2+0-2
2021-12-09 23:38Fixed isdigit() usagebsandro2+2-2
2021-12-09 23:33Day 09, puzzle 2bsandro2+120-11
2021-12-09 21:31Day 09, puzzle 1bsandro8+318-1
2021-12-09 07:22Slight optimization of d8p2 (no snprintf)bsandro1+2-4
2021-12-09 07:11Day 08 puzzle 2 + rework of 1bsandro2+234-13
2021-12-08 06:54Day 08, puzzle 1 (zero brain cells edition)bsandro5+324-0
2021-12-08 00:15Day 03 refactoringbsandro2+40-72
2021-12-07 23:40DEFAULT_SOURCE in util.cbsandro1+2-0
2021-12-07 22:19Added day 07 puzzle 2 bruteforce solutionbsandro10+168-99
2021-12-07 19:01Couple of Makefile fixes (so changing the common headers would cause rebuilds too)bsandro4+4-4
2021-12-07 13:16Day 07, puzzle 2bsandro2+14-3
2021-12-07 09:51Day 07, puzzle 1bsandro5+165-0
2021-12-06 22:20Day 06, puzzle 2 (complete rewrite of puzzle 1 as well)bsandro4+49-89
2021-12-06 12:46Day 06, puzzle 1 (bruteforce solution)bsandro5+192-0
2021-12-05 14:12Day 05, puzzle 2bsandro1+77-28
2021-12-05 10:36Day 05, puzzle 1bsandro5+739-0
2021-12-05 08:14Moved some common stuff into separate headerbsandro3+42-46
2021-12-04 20:47Day 04, puzzle 2 + some reworkbsandro4+240-250
2021-12-04 19:51Allowing strndup(3) to work on Linuxbsandro1+2-0
2021-12-04 19:40Day 04, puzzle 1bsandro5+913-0
2021-12-04 12:52reallocf -> realloc+freebsandro1+3-2
2021-12-04 05:16Day 03, puzzle 2bsandro3+185-3
2021-12-04 01:28Removed useless headersbsandro8+9-11
2021-12-04 01:11Day 03, puzzle 1bsandro5+1114-0
2021-12-02 07:23Day 02, puzzle 2bsandro3+54-3
2021-12-02 06:23Day02, puzzle 1bsandro5+1096-0
2021-12-01 21:43Even more compatibilitybsandro2+2-0
2021-12-01 21:16Compatibility fix (fgetln -> fgets)bsandro2+12-16
2021-12-01 20:00Day 01, puzzle 2bsandro5+103-27
2021-12-01 16:15GNU Makefile only (use gmake for BSD)bsandro2+13-12
2021-12-01 15:37Day 01, puzzle 1.bsandro3+2062-0