Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 747 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 747 Bytes

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.