- Add new day's puzzle
- Open the
bin
folder, copy and paste theNN.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 (insidemain
). - Use
Shift+F10
(Win/Linux) orCtrl-R
(macOS) to re-run the same program.
- Open the
generated from bravit/advent-of-code-rust-template
-
Notifications
You must be signed in to change notification settings - Fork 0
gaito-20/aoc-2024
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Learning rust with the advent of code challenge.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published