My attempt at solving the 2022 Advent of Code in Nim
  • Nim 96.9%
  • HTML 1.8%
  • JavaScript 0.8%
  • CSS 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-12-26 09:34:03 -06:00
day1 Finished day 2 2022-12-02 07:00:37 -06:00
day2 Add optional day 2 solution 2022-12-02 07:19:22 -06:00
day3 Finished day 3 2022-12-02 23:36:14 -06:00
day4 Finished day 4 2022-12-04 07:50:27 -06:00
day5 Finished day 5 2022-12-05 08:21:50 -06:00
day6 Create point and range utility libraries 2022-12-15 11:50:07 -06:00
day7 Create point and range utility libraries 2022-12-15 11:50:07 -06:00
day8 Finished day 8 2022-12-08 07:33:51 -06:00
day9 Create point and range utility libraries 2022-12-15 11:50:07 -06:00
day10 Finished day 10 2022-12-10 07:56:32 -06:00
day11 Finished day 11 2022-12-11 00:19:01 -06:00
day12 Create point and range utility libraries 2022-12-15 11:50:07 -06:00
day13 Finished day 13 2022-12-13 11:41:40 -06:00
day14 Create point and range utility libraries 2022-12-15 11:50:07 -06:00
day15 Create point and range utility libraries 2022-12-15 11:50:07 -06:00
day16 Improve day 16 2022-12-19 17:56:23 -06:00
day17 Remove unused functions 2022-12-25 21:08:24 -06:00
day18 Finished day 18 2022-12-18 07:56:12 -06:00
day19 Finished day 19 2022-12-20 21:39:15 -06:00
day20 Finished day 20 2022-12-20 10:30:33 -06:00
day21 Finished day 21 2022-12-21 08:52:57 -06:00
day22 Finished day 22 2022-12-22 17:15:21 -06:00
day23 Remove unused functions 2022-12-25 21:08:24 -06:00
day24 Finished day 24 2022-12-25 21:07:05 -06:00
day25 Day 25 part 2 doesn't exist 2022-12-26 09:34:03 -06:00
utils Finished day 20 2022-12-20 10:30:33 -06:00
.gitignore Finished day 2 2022-12-02 07:00:37 -06:00
aoc.nim Day 25 part 2 doesn't exist 2022-12-26 09:34:03 -06:00
build.nim Build JS files in release mode 2022-12-01 08:47:13 -06:00
common.css Set up stucture for AoC 2022 2022-11-16 20:40:53 -06:00
index.html Finished day 4 2022-12-04 07:50:27 -06:00
index.js Set up stucture for AoC 2022 2022-11-16 20:40:53 -06:00
README.md Fix typo in README, again 2022-11-16 20:52:36 -06:00

Advent of Code 2022

My attempt at solving 2022 Advent of Code in Nim.

Usage

To solve the problems via the command line, compile with nim c aoc.nim then run via ./aoc dayXpY path/to/input.txt

To solve in a browser, you will need to compile each daily entry via nim js dayX.nim as well as nim js aoc.nim. Then open index.html in a web browser.