Solutions of most (39 out of 50 so far) puzzles in Zig (system language, alternative for C). My first experience with it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Inga 🏳‍🌈 5da43173ae updated readme 10 months ago
day01-easy added inputs to repository (since turns out they're different for everybody) 11 months ago
day01-hard added inputs to repository (since turns out they're different for everybody) 11 months ago
day02-easy added inputs to repository (since turns out they're different for everybody) 11 months ago
day02-hard added inputs to repository (since turns out they're different for everybody) 11 months ago
day03-easy added inputs to repository (since turns out they're different for everybody) 11 months ago
day03-hard added inputs to repository (since turns out they're different for everybody) 11 months ago
day04-easy added inputs to repository (since turns out they're different for everybody) 11 months ago
day04-hard added inputs to repository (since turns out they're different for everybody) 11 months ago
day05-easy added inputs to repository (since turns out they're different for everybody) 11 months ago
day05-hard added inputs to repository (since turns out they're different for everybody) 11 months ago
day06-easy added inputs to repository (since turns out they're different for everybody) 11 months ago
day06-hard added inputs to repository (since turns out they're different for everybody) 11 months ago
day07-easy day 7, part 1 11 months ago
day07-hard day 7, part 2 11 months ago
day08-easy added inputs to repository (since turns out they're different for everybody) 11 months ago
day08-hard fixed readme formatting 11 months ago
day09-easy day 9, part 1 11 months ago
day09-hard day 9, part 2 11 months ago
day10-easy day 10, part 1 11 months ago
day10-hard day 10, part 2 11 months ago
day11-easy day 11, part 1 11 months ago
day11-hard day 11, part 2 11 months ago
day12-easy day 12, part 1 11 months ago
day12-hard day 12, part 2 11 months ago
day13-easy day 13, part 1 11 months ago
day13-hard day 13, part 2 11 months ago
day14-easy day 14, part 1 (forgot to commit) 11 months ago
day15-easy day 15, part 1 11 months ago
day15-hard day 15, part 2 11 months ago
day16-easy day 16, part 1 11 months ago
day16-hard day 16, part 2 11 months ago
day17-easy day 17, part 1 (fixed solution) 11 months ago
day17-hard day 17, part 2 11 months ago
day18-easy day 18, part 1 (improved in preparation to part 2) 10 months ago
day18-hard day 18, part 2 (complete solution) 10 months ago
day21-easy day 21, part 1 10 months ago
day22-easy day 22, part 1 11 months ago
day22-hard day 22, part 2 11 months ago
day24-easy day 24, part 1 11 months ago
.gitignore added inputs to repository (since turns out they're different for everybody) 11 months ago
README.md updated readme 10 months ago

README.md

AdventOfCode-2023

Solutions to https://adventofcode.com/2023/

This is my first experience with Zig.

In a directory for a specific day,

  • To test: zig build test;
  • To run (assuming NuShell): open sample.in | zig build run;
  • To run (assuming bash): zig build run < sample.in.

Most of the solutions are allocation-free.

There are also some solutions in Scheme: https://oomza.cutegay.software/inga-lovinde/AdventOfCode-2023-functional