This is a thread to discuss Day2
https://adventofcode.com/2021/day/2
REMEMBER!
It is VERY important NOT to write any public spoilers
ALWAYS keep spoiler stuff hidden inside one of these
Summary
This text will be hidden
which you can obtain by clicking on the gear icon
This is my first successful run at part 1
duration = 35ms
Very simple method (as usual)
This is my first successful run at part 2
duration = 30ms
For me - today's puzzle was quite an easy one
It didn't take much to alter Part 1 to complete Part 2
It'll still be interesting to see the HOF solutions for it though
Another version for Part 2
Project
Part 1
60ms
Part 2
11.7 seconds without warp block (very slow)
79ms with warp block !
project
with the small input...
.
in this version, we can visualize the submarine is flying because the submarine go up... hahaha, it's a subplane !
oh cool u did similar to what i did!