diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2024-07-21 18:34:25 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2024-07-21 18:34:25 +0000 |
commit | 4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab (patch) | |
tree | a1ff3e1fdcb965268823197d9a9422c1405e37d2 /2023/day3/test.ts | |
parent | 9988056b093b3b3f4269562da4c780d55cd4688a (diff) | |
download | adventofcode-4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab.tar adventofcode-4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab.tar.gz adventofcode-4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab.tar.bz2 adventofcode-4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab.tar.lz adventofcode-4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab.tar.xz adventofcode-4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab.tar.zst adventofcode-4e7ec7d5a5d4ca8d04b981830c078a2b3331eeab.zip |
Diffstat (limited to '')
-rw-r--r-- | 2023/day3/test.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/2023/day3/test.ts b/2023/day3/test.ts new file mode 100644 index 0000000..3420b1d --- /dev/null +++ b/2023/day3/test.ts @@ -0,0 +1,7 @@ +const nums = [657, 283, 728, 422, 446, 95, 963, 617, 201, 215, 435, 174, 232, 116, 730, 630, 755]; +let total = 1; + +for (const n of nums) { + total *= n; +} +console.log(total, Number.MAX_VALUE, Number.MAX_SAFE_INTEGER); |