- 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