Skip to content

angelotrivelli/advent_of_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdventOfCode 2021

Trying again this year, this solution has been generated from this person's template: https://github.com/eduherminio/AoCHelper

┌───────┬────────┬────────────────────────────────────────────────────────────┬──────────────┐
│ Day   │ Part   │ Solution                                                   │ Elapsed time │
├───────┼────────┼────────────────────────────────────────────────────────────┼──────────────┤
│ Day 1 │ Part 1 │ Depth increases: 1766                                      │ 0.73 ms      │
│ Day 1 │ Part 2 │ Depth increases (3 measurement rolling average): 1797      │ 2 ms         │
│       │        │                                                            │              │
│ Day 2 │ Part 1 │ horizontal_distance*depth =1690020                         │ 2 ms         │
│ Day 2 │ Part 2 │ horizontal_distance*depth =1408487760                      │ 0.66 ms      │
│       │        │                                                            │              │
│ Day 3 │ Part 1 │ gamma * epsilon = 1071734                                  │ 2 ms         │
│ Day 3 │ Part 2 │ oxy * co2 = 6124992                                        │ 4 ms         │
│       │        │                                                            │              │
│ Day 4 │ Part 1 │ Bingo!, Board 87, draw=31 score=697, score*draw=21607      │ 35 ms        │
│ Day 4 │ Part 2 │ Last Bingo!, Board 72, draw=49 score=388, score*draw=19012 │ 2 ms         │
│       │        │                                                            │              │
│ Day 5 │ Part 1 │ num intersections = 6005                                   │ 84 ms        │
│ Day 5 │ Part 2 │ num intersections (counting diagonals) = 23864             │ 188 ms       │
│       │        │                                                            │              │
└───────┴────────┴────────────────────────────────────────────────────────────┴──────────────┘
┌──── Overall results ─────┐
│                          │
│ Total (5 days)    321 ms │
│ Total parts 1     124 ms │
│ Total parts 2     197 ms │
│                          │
│ Mean (per day)    64 ms  │
│ Mean parts 1      25 ms  │
│ Mean parts 2      39 ms  │
└──────────────────────────┘

About

Trying Advent of Code again !

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages