# Day 2: Dive!

# Part 1

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?

# Part 2

Using this new aiming interpretation of the commands, calculate the horizontal position and depth the submarine would have after following the planned course. What do you get if you multiply the final horizontal position by the final depth?

Visualisation

VXY: 0.00, 0.00 Z: 1.00 OXY: 0.00, 0.00 S: 100.00 D: 10.00

My Input

My Solution

Solution Code

README

Viewer