day 7 done
day 6: part 2 done
day 6: part 1 complete
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[0] = 6
and x[1] = 4
. I have no idea why
elf1.rsplit('-').rev().collect()
cd day7 && cargo build && ./target/debug/aoc_day7