Skip to content

cedrickchee/advent-of-code-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code (AoC) 2022 in Rust

Learning Rust by solving AoC 2022 with AI assisted technologies like ChatGPT and Copilot.

Experiment

I got this random idea to see if ChatGPT can reliably solve each day's puzzle (code problems).

AoC puzzles offer an increasing level of difficulty.

Goals

I chose to write this year's solutions in Rust. I want to:

  • Get much better at Rust
  • Improve basic programming skills

Non-goals

  • Evaluate and compare these language models (machine) to human performance.

Solutions

Day Puzzle Part 1 Part 2
1 Calorie Counting 0.162ms 0.191ms
2 Rock Paper Scissors 0.608ms 0.513ms
3 Rucksack Reorganization 0.NNNms 0.NNNms
4 Camp Cleanup 0.NNNms 0.NNNms
5 Supply Stacks 0.NNNms 0.NNNms

Other years

(TODO: link to other repos)