-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
68 lines (54 loc) · 2.62 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import day1 from "./src/day1/day1";
import day10 from "./src/day10/day10";
import day11 from "./src/day11/day11";
import day12 from "./src/day12/day12";
import day13 from "./src/day13/day13";
import day2 from "./src/day2/day2";
import day3 from "./src/day3/day3";
import day4 from "./src/day4/day4";
import day5 from "./src/day5/day5";
import day6 from "./src/day6/day6";
import day7 from "./src/day7/day7";
import day8 from "./src/day8/day8";
import day9 from "./src/day9/day9";
async function main() {
// const { individualMax, top3Total } = await day1();
// console.log("Day 1 Calorie Question", individualMax);
// console.log("Day 1 Pt 2 Calorie Question", top3Total);
// const { totalScore, totalScoreUpdated } = await day2();
// console.log("Day 2 RPS score", totalScore);
// console.log("Day 2 Updated RPS score", totalScoreUpdated);
// const { badgePriorityValues, combinedPriorityValues } = await day3();
// console.log("Day 3 total rucksack priority value:", combinedPriorityValues);
// console.log("Day 3 total rucksack badge value:", badgePriorityValues);
// const { anyOverlaps, fullOverlaps } = await day4();
// console.log("Day 4 full overlap count", fullOverlaps);
// console.log("Day 4 partial overlap count", anyOverlaps);
// const { topItems, topItemsGrouped } = await day5();
// console.log("Day 5 Items on top of stacks", topItems);
// console.log(
// "Day 5 Items on top of stacks when moved in groups",
// topItemsGrouped
// );
// const { messageIndex, startIndex } = await day6();
// console.log("Day 6 start index", startIndex);
// console.log("Day 6 Message Index", messageIndex);
// const { smallestDeleteSize, totalSmallFileSize } = await day7();
// console.log("Day 7 file total", totalSmallFileSize);
// console.log("Day 7 smallest delete size", smallestDeleteSize);
// const { numVisibleTrees, maxVis } = await day8();
// console.log("Day 8 visible trees", numVisibleTrees);
// console.log("Day 8 max visibility", maxVis);
// const numTouchedCoords = await day9();
// console.log("Day 9 touched coords", numTouchedCoords);
// const signalStrength = await day10();
// console.log("Day 10 Signal Strength", signalStrength);
// const { touchedItemProduct, touchedItemProduct2 } = await day11();
// console.log("Day 11 part one touched item value", touchedItemProduct);
// console.log("Day 11 part two touched item value", touchedItemProduct2);
// const { stepsToA, stepsToS } = await day12();
// console.log("Day 12 part 1 steps to S", stepsToS);
// console.log("Day 12 part 2 steps to a", stepsToA);
await day13();
}
main().catch((e) => console.error(e));