advent2021

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

ModeNameSize
-rw-r--r--.gitignore2L
-rw-r--r--LICENSE24L
-rw-r--r--README6L
-rwxr-xr-xall.sh20L
-rw-r--r--common/util.c83L
-rw-r--r--common/util.h40L
-rw-r--r--day01/Makefile25L
-rw-r--r--day01/input.txt2000L
-rw-r--r--day01/main.c30L
-rw-r--r--day01/puzzle1.c33L
-rw-r--r--day01/puzzle2.c54L
-rw-r--r--day01/test.txt10L
-rw-r--r--day02/Makefile25L
-rw-r--r--day02/input.txt1000L
-rw-r--r--day02/main.c30L
-rw-r--r--day02/puzzle1.c48L
-rw-r--r--day02/puzzle2.c50L
-rw-r--r--day02/test.txt6L
-rw-r--r--day03/Makefile25L
-rw-r--r--day03/input.txt1000L
-rw-r--r--day03/main.c30L
-rw-r--r--day03/puzzle1.c67L
-rw-r--r--day03/puzzle2.c150L
-rw-r--r--day03/test.txt12L
-rw-r--r--day04/Makefile25L
-rw-r--r--day04/input.txt601L
-rw-r--r--day04/main.c32L
-rw-r--r--day04/puzzle12.c162L
-rw-r--r--day04/test.txt19L
-rw-r--r--day05/Makefile25L
-rw-r--r--day05/input.txt500L
-rw-r--r--day05/main.c32L
-rw-r--r--day05/puzzle.c220L
-rw-r--r--day05/test.txt10L
-rw-r--r--day06/Makefile25L
-rw-r--r--day06/input.txt1L
-rw-r--r--day06/main.c32L
-rw-r--r--day06/puzzle.c91L
-rw-r--r--day06/test.txt1L
-rw-r--r--day07/Makefile28L
-rw-r--r--day07/input.txt1L
-rw-r--r--day07/main.c47L
-rw-r--r--day07/puzzle.c67L
-rw-r--r--day07/puzzle_brute.c65L
-rw-r--r--day07/test.txt1L
-rw-r--r--day08/Makefile25L
-rw-r--r--day08/input.txt200L
-rw-r--r--day08/main.c34L
-rw-r--r--day08/puzzle.c274L
-rw-r--r--day08/test.txt10L
-rw-r--r--day09/Makefile25L
-rw-r--r--day09/input.txt100L
-rw-r--r--day09/main.c47L
-rw-r--r--day09/puzzle.c121L
-rw-r--r--day09/puzzle_test.c122L
-rw-r--r--day09/test.txt5L
-rw-r--r--day10/Makefile25L
-rw-r--r--day10/input.txt90L
-rw-r--r--day10/main.c30L
-rw-r--r--day10/puzzle.c160L
-rw-r--r--day10/test.txt10L
-rw-r--r--day11/Makefile25L
-rw-r--r--day11/input.txt10L
-rw-r--r--day11/main.c30L
-rw-r--r--day11/puzzle.c118L
-rw-r--r--day11/test.txt10L
-rw-r--r--day12/Makefile31L
-rw-r--r--day12/input.txt25L
-rw-r--r--day12/main.c29L
-rw-r--r--day12/puzzle.c272L
-rw-r--r--day12/test1.txt7L
-rw-r--r--day12/test2.txt10L
-rw-r--r--day12/test3.txt18L
-rw-r--r--day13/Makefile25L
-rw-r--r--day13/input.txt987L
-rw-r--r--day13/main.c23L
-rw-r--r--day13/puzzle.c217L
-rw-r--r--day13/test.txt21L
-rw-r--r--day14/Makefile25L
-rw-r--r--day14/input.txt102L
-rw-r--r--day14/main.c29L
-rw-r--r--day14/puzzle.c282L
-rw-r--r--day14/test.txt18L
-rw-r--r--day15/Makefile25L
-rw-r--r--day15/input.txt100L
-rw-r--r--day15/main.c29L
-rw-r--r--day15/puzzle.c219L
-rw-r--r--day15/test.txt10L
-rw-r--r--day16/Makefile25L
-rw-r--r--day16/input.txt1L
-rw-r--r--day16/main.c29L
-rw-r--r--day16/puzzle.c269L
-rw-r--r--day16/test.txt1L
-rw-r--r--day17/Makefile25L
-rw-r--r--day17/input.txt1L
-rw-r--r--day17/main.c29L
-rw-r--r--day17/puzzle.c132L
-rw-r--r--day17/test.txt1L
-rw-r--r--day18/Makefile25L
-rw-r--r--day18/input.txt100L
-rw-r--r--day18/main.c29L
-rw-r--r--day18/puzzle.c255L
-rw-r--r--day18/test.txt10L
-rw-r--r--day19/Makefile25L
-rw-r--r--day19/input.txt804L
-rw-r--r--day19/main.c29L
-rw-r--r--day19/puzzle.c305L
-rw-r--r--day19/test.txt136L
-rw-r--r--day20/Makefile25L
-rw-r--r--day20/Makefile.debug25L
-rw-r--r--day20/input.txt102L
-rw-r--r--day20/main.c29L
-rw-r--r--day20/puzzle.c186L
-rw-r--r--day20/test.txt7L
-rw-r--r--day21/Makefile27L
-rw-r--r--day21/input.txt2L
-rw-r--r--day21/main.c29L
-rw-r--r--day21/puzzle.c226L
-rw-r--r--day21/test.txt2L
-rw-r--r--day22/Makefile27L
-rw-r--r--day22/input.txt420L
-rw-r--r--day22/main.c29L
-rw-r--r--day22/puzzle.c251L
-rw-r--r--day22/test.txt4L
-rw-r--r--day22/test1.txt22L
-rw-r--r--day22/test2.txt60L
-rw-r--r--day23/Makefile25L
-rw-r--r--day23/input.txt5L
-rw-r--r--day23/main.c29L
-rw-r--r--day23/puzzle.c38L
-rw-r--r--day23/test.txt5L
-rw-r--r--day24/Makefile27L
-rw-r--r--day24/input.txt252L
-rw-r--r--day24/main.c29L
-rw-r--r--day24/puzzle.c216L
-rw-r--r--day24/test.txt11L
-rw-r--r--day25/Makefile27L
-rw-r--r--day25/input.txt137L
-rw-r--r--day25/main.c29L
-rw-r--r--day25/puzzle.c159L
-rw-r--r--day25/test.txt9L
-rwxr-xr-xtime.sh3L