Skip to content

gaito-20/aoc-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2024 in Rust

Usage

  • Add new day's puzzle
    • Open the bin folder, copy and paste the NN.rs file into it, and give it the corresponding name (01.rs, 02.rs, etc.).
    • In the input folder, create and fill the input data file (01.txt, 02.txt, etc.).
    • Fill in the DAY constant in the freshly created file.
    • Run the current day's solution to check if it compiles (you can use the gutter icon next to the main function).
    • Fill in <TEST-INPUT>.
    • Write the expected answer for the test data in the assert_eq statement in Part 1.
    • Now you're ready to write your solution in the part1 function (inside main).
    • Use Shift+F10 (Win/Linux) or Ctrl-R (macOS) to re-run the same program.

About

Learning rust with the advent of code challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages