Skip to content

szeweq/aoc2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2023 in Rust

Here you can find solvers with example inputs. I'm trying my best to provide the best code.

There are no explainations or comments to these solutions. Also there are mangled variable names. It will be corrected later (maybe when AoC 2023 will end).

Disclaimer

This repository is checked with the latest stable version of Rust.

Calendar

01 02 03
04 05 06 07 08 09 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Check out Online Solvers available on my website!

Inputs

Add inputs in text files matching a binary name, like 01.txt, into the inputs/ directory.

Testing

Use this command (replace <day> with approperiate 2-digit day number):

cargo ex <day>

Running

Make sure there is an input text file in inputs/ and then type the following command (replace <day> with the day number):

cargo solve <day>