Skip to content

Commit 9a2fde0

Browse files
committed
wording
1 parent e538d71 commit 9a2fde0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2024/Day24/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ The device seems to be trying to produce a number through some boolean logic gat
55

66
_Visit the website for the full story and [full puzzle](https://adventofcode.com/2024/day/24) description._
77

8-
The first half of the problem was a familiar logic circuit evaluator, we have done this before. I really liked the second part, although I don't have a super generic solution for it. I generated a graph from my input using Graphviz, then realized that the circuit tries to implement a full adder.
8+
The first half of the problem was a familiar logic circuit evaluator, we have done this before. I really liked the second part, although I don't have a super generic solution for it. I generated a graph from my input using Graphviz, then realized that the circuit tries to implement a Ripple-carry adder.
99

1010
A single full adder consists of two half adders:
1111

1212
![half adder](halfadder.png)
1313

14-
Which are chained one after the other like this:
14+
Which are chained one after the other like this to get a Ripple-carry adder:
1515

1616
![full adder](adder.png)
1717

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy