Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.2 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.2 KB

Advent of code 2021

This repository is for the solutions for the advent of code challenge 2021.

Day 01

Task 1: Question: How many measurements are larger than the previous measurement?

Solution Answer: `1529` times the measurement increased.

Task 2: Question: Consider sums of a three-measurement sliding window. How many sums are larger than the previous sum?

Solution Answer: `1567` times the measurement increased without the noise.

Day 02 - Dive

Task page: https://adventofcode.com/2021/day/2

Task 1: Question: "Calculate the horizontal position and depth you would have after following the planned course. What do you get if you multiply your final horizontal position by your final depth?"

Solution Answer: `1728414`

Task 2: Question: "What do you get if you multiply your final horizontal position by your final depth?" (with respecting aim)

Solution Answer: `1765720035`

Task 3: Task: Get the power consumption.

Solution Answer: `1765720035`