Skip to content

Latest commit

 

History

History
69 lines (63 loc) · 3 KB

README.md

File metadata and controls

69 lines (63 loc) · 3 KB

aoc2022

Repo for advent of code 2022 problems.

To run, go into class MasterSolver.java

Inputs:

  • runTimer - if true, will run the timer method to gather information on execution times
  • totalTimer - if true, timer will return just the total execution time. Otherwise, will return every day's execution time
  • exclusionTimer - if true, will skip days where answer cannot be displayed simply. if false, will run all days regardless (not recommended)
  • int[] days - determines which days to solve
  • boolean[] parts - determines which parts to solve

To see a given day's solution, go to DayX.java, where X is the day in question.

Current timings:

  • Day 01 part 1 execution time: 41.2ms (acceptable)
  • Day 01 part 2 execution time: 16.9ms (fast)
  • Day 02 part 1 execution time: 11.0ms (fast)
  • Day 02 part 2 execution time: 8.7ms (fast)
  • Day 03 part 1 execution time: 8.5ms (fast)
  • Day 03 part 2 execution time: 4.8ms (fast)
  • Day 04 part 1 execution time: 11.6ms (fast)
  • Day 04 part 2 execution time: 5.0ms (fast)
  • Day 05 part 1 execution time: 5.5ms (fast)
  • Day 05 part 2 execution time: 4.1ms (fast)
  • Day 06 part 1 execution time: 3.0ms (fast)
  • Day 06 part 2 execution time: 7.9ms (fast)
  • Day 07 part 1 execution time: 16.8ms (fast)
  • Day 07 part 2 execution time: 3.9ms (fast)
  • Day 08 part 1 execution time: 22.0ms (acceptable)
  • Day 08 part 2 execution time: 22.1ms (acceptable)
  • Day 09 part 1 execution time: 12.7ms (fast)
  • Day 09 part 2 execution time: 28.1ms (acceptable)
  • Day 10 part 1 execution time: 0.7ms (fast)
  • Day 10 part 2 execution time: 0.6ms (fast)
  • Day 11 part 1 execution time: 4.8ms (fast)
  • Day 11 part 2 execution time: 52.0ms (slow)
  • Day 12 part 1 execution time: 50.7ms (slow)
  • Day 12 part 2 execution time: 28.2ms (acceptable)
  • Day 13 part 1 execution time: 11.0ms (fast)
  • Day 13 part 2 execution time: 7.0ms (fast)
  • Day 14 part 1 execution time: 9.1ms (fast)
  • Day 14 part 2 execution time: 21.4ms (acceptable)
  • Day 15 part 1 execution time: 624.0ms (slow)
  • Day 15 part 2 execution time: 0.7ms (fast)
  • Day 16 part 1 execution time: 107.8ms (slow)
  • Day 16 part 2 execution time: 473.7ms (slow)
  • Day 17 part 1 execution time: 121.7ms (slow)
  • Day 17 part 2 execution time: 431.8ms (slow)
  • Day 18 part 1 execution time: 12.0ms (fast)
  • Day 18 part 2 execution time: 7.5ms (fast)
  • Day 19 part 1 execution time: 53.1ms (slow)
  • Day 19 part 2 execution time: 159.6ms (slow)
  • Day 20 part 1 execution time: 61.0ms (slow)
  • Day 20 part 2 execution time: 524.9ms (slow)
  • Day 21 part 1 execution time: 315.1ms (slow)
  • Day 21 part 2 execution time: 332.8ms (slow)
  • Day 22 part 1 execution time: 10.9ms (fast)
  • Day 22 part 2 execution time: 9.7ms (fast)
  • Day 23 part 1 execution time: 130.6ms (slow)
  • Day 23 part 2 execution time: 361.4ms (slow)
  • Day 24 part 1 execution time: 500.3ms (slow)
  • Day 24 part 2 execution time: 975.4ms (slow)
  • Day 25 part 1 execution time: 0.3ms (fast)
  • Day 25 part 2 execution time: 0.3ms (fast)
  • Total execution time : 5633.8ms
  • Slow parts: 17. Acceptable parts: 6. Fast parts: 27.