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
137
SOLUTION MEGATHREAD-🎄- 2020 Day 1 Solutions -🎄-(self.adventofcode)
submitted 5 years, 1 month ago* (edited 3 hours, 3 minutes after) by daggerdragon to /r/adventofcode (134.8k)
1384 commentsredditother-discussionssubreddit-indexmessage modsop-focus

It's been one heck of a crappy year, so let's make the holidays bright with Advent of Code 2020! If ...

... view full text

since 5 years, 1 month ago
1 of 1

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]7 points5 years, 1 month ago

Golfed (05AB1E) 13 char

|2.ÆʒO2020Q}P

Try it online!

Explanation

-- implicit input --
| -> pushes the whole input as an array
2 -> push 2 on stack
.Æ -> a, b - b-element combinations of a
ʒ -> filter
    O -> sum
    2020 -> push 2020 on stack
    Q -> a,b - a equals b
} -> end filter
P -> Product
-- implicit output --

And then for part 2 just exchange the first 2 with a 3

permalinkas-of
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