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

WIKI NEWS

  • The FAQ section of the wiki on [Code Formatting](https://www.reddit.com/r/adventofco...

... view full text

since 3 years, 1 month ago
8 of 8

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

Python

I wish I understood how the super module trick works. Reading some of the results it makes it look like the fact all divisibility checks are against prime numbers so, something something, chinese remainder theorem?

permalinkhide replies (2)as-of
[–][deleted]23 points3 years, 1 month ago
[deleted] by user
(check your username's removed content. why?)
parenthide replies (3)as-of
[–][deleted]1 point3 years, 1 month ago

Chinese Remainder Theorem

Thanks times 11 ;)

permalinkparentcontextas-of
[–]Comprehensive_Tone1 point3 years, 1 month ago

Excellent explanation

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

This was amazingly explained, thanks!! I think I get it that (a%(b*n)) % b === a%b. Need to get this really imprinted. Again thanks for the explanation!

permalinkparentcontextas-of
[–][deleted]3 points3 years, 1 month ago
[deleted] by user
(check your username's removed content. why?)
parenthide replies (2)as-of
[–][deleted]3 points3 years, 1 month ago
[deleted] by user
(check your username's removed content. why?)
parentas-of
[–]1234abcdcba43211 point3 years, 1 month ago

You don't actually need the LCM. Any common multiple works, and the product of all the numbers is always a common multiple. (It just won't be the least one unless the numbers are coprime.)

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