Skip to content

Commit

Permalink
Make day 20 comment more less dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
Riari committed Dec 21, 2023
1 parent c263ae9 commit 447f0f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ fn solve(input: &str, is_p2: bool) -> Option<u64> {
if is_p2 {
// The solution for part 2 assumes the following:
// - There is a single conjunction module that sends to rx
// - There are four conjunction modules that send to the one that sends to rx
// Therefore the LCM of the cycle counts of those four antepenultimate modules should be the answer.
// - The abovementioned module only receives signals from conjunction modules
// Therefore the LCM of the cycle counts of those antepenultimate modules should be the answer.

// sender_to_rx is the module that sends to rx
(sender_to_rx, _) = connections
Expand Down

0 comments on commit 447f0f8

Please sign in to comment.