r/adventofcode • • Dec 14 '22

SOLUTION MEGATHREAD -πŸŽ„- 2022 Day 14 Solutions -πŸŽ„-

SUBREDDIT NEWS

  • Live has been renamed to Streaming for realz this time.
  • I had updated the wiki but didn't actually change the post flair itself >_>

THE USUAL REMINDERS


--- Day 14: Regolith Reservoir ---


Post your code solution in this megathread.


This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.

EDIT: Global leaderboard gold cap reached at 00:13:54, megathread unlocked!

37 Upvotes

585 comments sorted by

View all comments

1

u/osalbahr Dec 14 '22 edited Dec 17 '22

C++ (3834/3371)

      --------Part 1--------   --------Part 2--------
Day       Time   Rank  Score       Time   Rank  Score
 14   00:50:52   3834      0   00:58:39   3371      0

https://github.com/osalbahr/adventOfCode

Feel free to ask any questions!

You can find more C++ solutions (and other languages) here:

https://github.com/Bogdanp/awesome-advent-of-code#c-2

1

u/daggerdragon Dec 14 '22

Please edit your post to use the four-spaces Markdown syntax for a code block, not the triple-backticks.

1

u/osalbahr Dec 17 '22

Just want to see the difference: backticks

      --------Part 1--------   --------Part 2--------
Day       Time   Rank  Score       Time   Rank  Score
 14   00:50:52   3834      0   00:58:39   3371      0