Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.33 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.33 KB

Advent of Code 2022 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 2022 will end).

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>