Skip to content

antoniosarosi/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

Structure

  • inputs My AoC inputs for each year and day.
  • solutions My solutions divided by programming languages.

Each project in the solutions directory has a CLI tool that can be used to execute any AoC solution from a single entry point (there's only one main function). For example:

cd ./solutions/rust/

# Execute AoC Year 2022 Day 2 with the default input file
cargo run -- 2022 2

# Execute AoC Year 2022 Day 2 with an input file of your choice
cargo run -- 2022 2 ./some/other/input/file.txt

The rest of languages can do the same. Instructions for each specific language can be found in their respective README.md file.

Note

Input files must use LF only line endings (\n), not CRLF (\r\n)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published