Skip to content

Commit 71921b0

Browse files
committed
feat: day 13 claw contraption 2/2 soln, #19
1 parent 36685ad commit 71921b0

File tree

8 files changed

+1381
-8
lines changed

8 files changed

+1381
-8
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This repository contains solutions and a local development environment for the [
2323
- Day 10: Hoof It [[link]](/src/2024/2024-12-10/README.md)
2424
- Day 11: Plutonian Pebbles [[link]](/src/2024/2024-12-11/README.md)
2525
- Day 12: Garden Groups [[link]](/src/2024/2024-12-12/README.md)
26+
- Day 13: Claw Contraption [[link]](/src/2024/2024-12-13/README.md)
2627

2728
</details>
2829

src/2024/2024-12-13/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
Visit the Advent of Code website for more information on this puzzle at:
44

55
**Source:** https://adventofcode.com/2024/day/13<br>
6-
**Status:** On-going
6+
**Status:** Complete ⭐
77

88
## Code
99

1010
### `count.ts`
1111

12-
- **`countTokensPrizes()`** - Counts the minimum number of tokens needed to win all possible prizes.
12+
- **`countTokensPrizes()`** - Counts the number of tokens needed to win all possible prizes.
13+
14+
### `countAdjusted.ts`
15+
16+
- **`countTokensOnAdjustedPrizes()`** - Counts the number of tokens needed to win all possible prizes with adjusted +10000000000000 coordinates.
1317

1418
### `utils.ts`
1519

@@ -25,4 +29,3 @@ Visit the Advent of Code website for more information on this puzzle at:
2529

2630
<sup>[[1]](https://www.youtube.com/watch?v=jBsC34PxzoM)</sup>&nbsp; Cramer's Rule<br>
2731
<sup>[[2]](https://www.youtube.com/playlist?list=PLybg94GvOJ9En46TNCXL2n6SiqRc_iMB8)</sup>&nbsp; Linear Algebra Videos
28-

0 commit comments

Comments
 (0)