~anjan/advent2022

day 6: part 2 done
day 6: part 1 complete

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~anjan/advent2022
read/write
git@git.sr.ht:~anjan/advent2022

You can also use your local clone with git send-email.

#Advent of Code 2022

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.

https://adventofcode.com/2022

#Day 2

  • Learn to use enums from the beginning. It was too hard to change stuff after the fact when everything was working.

#Day 3

rustc -g main.rs # compiles program so that it can be debugged with gdb debugger
rust-gdb main # run program with gdb debugger

#Day 4

#Day 7

cd day7 && cargo build && ./target/debug/aoc_day7