Skip to content

It contains my solutions for advent of code written in rust

Notifications You must be signed in to change notification settings

manhunto/advent-of-code-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run

  • cargo run -- -d1 -y2024 solve - solve puzzle for a given day and year
  • cargo run -- -d1 -y2024 solve -a1 - solve puzzle for a given day and year and submit answer for part 1 to AoC server
  • cargo run -- -d1 -y2024 input - download and save input for given puzzle
  • cargo run -- -d1 -y2024 output - download and save your answers for given puzzle
  • cargo run -- -y2024 output - download and save your answers for puzzles in given year
  • cargo run -- --help - more info in help

2024

Day Solved Part 1 time (ms) Part 2 time (ms)
Day 1: Historian Hysteria ⭐⭐ 0.221 0.219
Day 2: Red-Nosed Reports ⭐⭐ 0.508 0.853
Day 3: Mull It Over ⭐⭐ 1.680 0.959
Day 4: Ceres Search ⭐⭐ 8.620 6.918
Day 5: Print Queue ⭐⭐ 3.151 11.874
Day 6: Guard Gallivant ⭐⭐ 8.738 3375.211
Day 7: Bridge Repair ⭐⭐ 1.198 219.754
Day 8: Resonant Collinearity ⭐⭐ 0.883 1.238
Day 9: Disk Fragmenter ⭐⭐ 199.930 98.860
Day 10: Hoof It ⭐⭐ 1.678 1.148
Day 11: Plutonian Pebbles ⭐⭐ 0.703 20.972
Day 12: Garden Groups ⭐⭐ 42.927 45.581
Day 13: Claw Contraption ⭐⭐ 0.241 0.331
Day 14: Restroom Redoubt ⭐⭐ 0.172 102.252
Day 15: Warehouse Woes ⭐⭐ 7.226 9.084
Day 16: Reindeer Maze ⭐⭐ 6.478 24.347
Day 17: Chronospatial Computer - - -
Day 18: RAM Run ⭐⭐ 2.487 204.885
Day 19: Linen Layout ⭐⭐ 2.923 22.751
Day 20: Race Condition ⭐⭐ 7.355 280.627
Day 21: Keypad Conundrum 0.454 -
Day 22: Monkey Market ⭐⭐ 16.325 270.527
Day 23: LAN Party 6.823 -

2023

Day Solved Part 1 time (ms) Part 2 time (ms)
Day 1: Trebuchet?! ⭐⭐ 0.069 0.219
Day 2: Cube Conundrum ⭐⭐ 0.160 0.145
Day 3: Gear Ratios ⭐⭐ 11.120 20.960
Day 4: Scratchcards ⭐⭐ 68.110 66.000
Day 5: If You Give A Seed A Fertilizer ⭐⭐ 0.051 0.096
Day 6: Wait For It ⭐⭐ 0.003 24.580
Day 7: Camel Cards ⭐⭐ 13.560 58.780
Day 8: Haunted Wasteland ⭐⭐ 0.648 26.230
Day 9: Mirage Maintenance ⭐⭐ 0.517 0.472
Day 10: Pipe Maze ⭐⭐ 81.010 78.440
Day 11: Cosmic Expansion ⭐⭐ 27.150 23.450
Day 12: Hot Springs ⭐⭐ 5.910 198.950
Day 13: Point of Incidence ⭐⭐ 4.290 159.750
Day 14: Parabolic Reflector Dish ⭐⭐ 1.500 206.057
Day 15: Lens Library ⭐⭐ 0.145 0.706
Day 16: The Floor Will Be Lava ⭐⭐ 26.700 5789.991
Day 17: Clumsy Crucible ⭐⭐ 89.676 275.979
Day 18: Lavaduct Lagoon ⭐⭐ 0.055 0.076
Day 19: Aplenty ⭐⭐ 0.500 0.479
Day 20: Pulse Propagation ⭐⭐ 12.550 70.650
Day 21: Step Counter 300.150 -
Day 22: Sand Slabs ⭐⭐ 55.959 135.398
Day 23: A Long Walk ⭐⭐ 6.943 10855.790
Day 24: Never Tell Me The Odds 2.406 -
Day 25: Snowverload - -