LOADING: An error occurred. Update Chrome, try Firefox, or visit this post for more details.

⚠️Reddit changed how removals work, which breaks Reveddit's website. Install the extension to track removed content:Add to chromeAdd to firefoxWhat changed?
✖︎
about reveddit
⚙F.A.Q.add-ons
r/
status
copy sharelink
[+] show filters
103
SOLUTION MEGATHREAD-🎄- 2022 Day 2 Solutions -🎄-(self.adventofcode)
submitted 3 years, 1 month ago* (edited 4 days, 4 hours after) by daggerdragon to /r/adventofcode (134.8k)
1501 commentsredditother-discussionssubreddit-indexmessage modsop-focus

NEW AND NOTEWORTHY

  • All of our rules, FAQs, resources, etc. are in our [community wiki](/r/adve...

... view full text

since 3 years, 1 month ago
7 of 7

Tip Reveddit Real-Time can notify you when your content is removed.

your account history
(check your username's removed content. why?)
Tip Check if your account has any removed comments.
view my removed comments
you are viewing a single comment's thread.
view all comments
[–][deleted]3 points3 years, 1 month ago
[deleted] by user
(check your username's removed content. why?)
hide replies (4)as-of
[–]daggerdragon4 points3 years, 1 month ago* (edited 24 minutes after)

This type of comment does not belong in the Solutions Megathread. If you have feedback about the puzzles, create your own post in the main subreddit.

I won't remove your comment this time, but please don't make a habit out of grinching in the megathreads.

Edit: thank you for de-grinching!

permalinkparentcontexthide replies (1)author-focusas-ofpreserve
[–][deleted]2 points3 years, 1 month ago* (edited 1 year, 7 months after)
[deleted] by user
(check your username's removed content. why?)
parenthide replies (1)as-of
[–]daggerdragon1 point3 years, 1 month ago

Ayup. Just doing my job as moderator. :)

permalinkparentcontextauthor-focusas-ofpreserve
[–]GassaFM3 points3 years, 1 month ago

There is actually a nice and concise formula if you treat outcomes as values modulo three. With only three outcomes and a symmetrical game, regularity is inescapable. Some of the solutions in the thread already show it.

permalinkparentcontextauthor-focusas-ofpreserve
[–]AdventLogin20211 point3 years, 1 month ago

I feel like over did mine to make it seem nice

https://pastebin.com/f84g2PEu

permalinkparentcontextauthor-focusas-ofpreserve
[–]I_Like_Cats__1 point3 years, 1 month ago

Not a fan of this one. It feels like there is no satisfying solution other then to just hardcode the scores. This is my code in rust:

Yea thats also how I felt, part 2 I could kinda think but part 1 (for sure with LB) was just "who can read and hardcode the fastest"

permalinkparentcontextauthor-focusas-ofpreserve
r/revedditremoved.substack.com
🚨 NEWS 🚨
✖︎

Important: Reddit Changed How Removals Work

A recent Reddit update makes mod-removed content disappear from profile pages, which breaks Reveddit's website.

Install the browser extension to receive removal alerts.

Add to chromeAdd to firefox

What changed?

r/revedditremoved.substack.com