My solutions to Advent of Code 2022. It's my first year participating and I am trying to learn rustlang. I have never programmed in rustlang before.
rustc -g main.rs # compiles program so that it can be debugged with gdb debugger rust-gdb main # run program with gdb debugger
elf1 = "4-6", with
x = elf1.rsplit('-').collect(),
x = 6and
x = 4. I have no idea why
cd day7 && cargo build && ./target/debug/aoc_day7