Skip to content

erning/aoc-2022-in-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoc-2022-in-rust

$ cargo run --release -- --time

--- Day 1: Calorie Counting ---
Part One: 68442
Part Two: 204837
Duration: (139µs, 88µs)

--- Day 2: Rock Paper Scissors ---
Part One: 12740
Part Two: 11980
Duration: (56µs, 43µs)

--- Day 3: Rucksack Reorganization ---
Part One: 8018
Part Two: 2518
Duration: (43µs, 37µs)

--- Day 4: Camp Cleanup ---
Part One: 536
Part Two: 845
Duration: (113µs, 98µs)

--- Day 5: Supply Stacks ---
Part One: TQRFCBSJJ
Part Two: RMHFJNVFP
Duration: (36µs, 66µs)

--- Day 6: Tuning Trouble ---
Part One: 1210
Part Two: 3476
Duration: (9µs, 28µs)

--- Day 7: No Space Left On Device ---
Part One: 2031851
Part Two: 2568781
Duration: (590µs, 511µs)

--- Day 8: Treetop Tree House ---
Part One: 1560
Part Two: 252000
Duration: (394µs, 363µs)

--- Day 9: Rope Bridge ---
Part One: 6098
Part Two: 2597
Duration: (807µs, 1.049ms)

--- Day 10: Cathode-Ray Tube ---
Part One: 15360
Part Two: 
###  #  # #    #  #   ##  ##  ####  ## 
#  # #  # #    #  #    # #  #    # #  #
#  # #### #    ####    # #      #  #  #
###  #  # #    #  #    # # ##  #   ####
#    #  # #    #  # #  # #  # #    #  #
#    #  # #### #  #  ##   ### #### #  #
Duration: (8µs, 9µs)

--- Day 11: Monkey in the Middle ---
Part One: 121450
Part Two: 28244037010
Duration: (22µs, 5.407ms)

--- Day 12: Hill Climbing Algorithm ---
Part One: 517
Part Two: 512
Duration: (1.546ms, 1.083ms)

--- Day 13: Distress Signal ---
Part One: 5806
Part Two: 23600
Duration: (396µs, 486µs)

--- Day 14: Regolith Reservoir ---
Part One: 843
Part Two: 27625
Duration: (2.738ms, 97.863ms)

--- Day 15: Beacon Exclusion Zone ---
Part One: 5832528
Part Two: 13360899249595
Duration: (9µs, 99.758ms)

--- Day 16: Proboscidea Volcanium ---
Part One: 1720
Part Two: 2582
Duration: (12.373ms, 299.712ms)

--- Day 17: Pyroclastic Flow ---
Part One: 3173
Part Two: 1570930232582
Duration: (1.775ms, 4.337ms)

--- Day 18: Boiling Boulders ---
Part One: 4370
Part Two: 2458
Duration: (638µs, 2.657ms)

--- Day 19: Not Enough Minerals ---
Part One: 1127
Part Two: 21546
Duration: (146.064ms, 191.048ms)

--- Day 20: Grove Positioning System ---
Part One: 27726
Part Two: 4275451658004
Duration: (31.247ms, 313.595ms)

--- Day 21: Monkey Math ---
Part One: 93813115694560
Part Two: 3910938071092
Duration: (431µs, 569µs)

--- Day 22: Monkey Map ---
Part One: 97356
Part Two: 120175
Duration: (126µs, 182µs)

--- Day 23: Unstable Diffusion ---
Part One: 4068
Part Two: 968
Duration: (8.664ms, 641.875ms)

--- Day 24: Blizzard Basin ---
Part One: 288
Part Two: 861
Duration: (361.281ms, 503.539ms)

--- Day 25: Full of Hot Air ---
Part One: 2=-0=1-0012-=-2=0=01
Part Two: fifty stars
Duration: (19µs, 1µs)

Apple M1 Max