Skip to content

Perska/AoC2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AoC2022

Programs for Advent of Code 2022 Warning: contains quickly written code that has not been mostly cleaned and refactored.

How to use

Enter the number for the day you want to run, and enter the input. Once you do that, type in "end". By typing "paste" in the input reader, you can make the program read your clipboard for input.
Alternatively, you can paste the input if your terminal allows it. This may be slow.
For CMD: Right click the top bar and select Edit>Paste

Or if you're one of those piping types you can put your input in a text file in a format like this:

1
1000
2000
3000

4000

5000
6000

7000
8000
9000

10000
end
2
A Y
B X
C Z
end
0

To use this with batch, do type input.txt | AoC2022.exe
This will run the first two programs.
Be sure to keep in the last newline.

Releases

No releases published

Packages

No packages published

Languages