-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.ts
94 lines (93 loc) · 2.15 KB
/
main.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import { dayOneA, dayOneB } from "./day-1.ts";
import { dayTwoA, dayTwoB } from "./day-2.ts";
import { dayThreeA, dayThreeB } from "./day-3.ts";
import { dayFourA, dayFourB } from "./day-4.ts";
import { dayFiveA, dayFiveB } from "./day-5.ts";
import { daySixA, daySixB } from "./day-6.ts";
import { daySevenA, daySevenB } from "./day-7.ts";
import { dayEightA, dayEightB } from "./day-8.ts";
import { dayNineA, dayNineB } from "./day-9.ts";
import { dayTenA, dayTenB } from "./day-10.ts";
import { dayElevenA, dayElevenB } from "./day-11.ts";
import { dayTwelveA, dayTwelveB } from "./day-12.ts";
import { dayThirteenA, dayThirteenB } from "./day-13.ts";
if (import.meta.main) {
console.log(
"(Day 1) Part 1:",
await dayOneA(),
"\n Part 2:",
await dayOneB(),
);
console.log(
"(Day 2) Part 1:",
await dayTwoA(),
"\n Part 2:",
await dayTwoB(),
);
console.log(
"(Day 3) Part 1:",
await dayThreeA(),
"\n Part 2:",
await dayThreeB(),
);
console.log(
"(Day 4) Part 1:",
await dayFourA(),
"\n Part 2:",
await dayFourB(),
);
console.log(
"(Day 5) Part 1:",
await dayFiveA(),
"\n Part 2:",
await dayFiveB(),
);
console.log(
"(Day 6) Part 1:",
await daySixA(),
"\n Part 2:",
await daySixB(),
);
console.log(
"(Day 7) Part 1:",
await daySevenA(),
"\n Part 2:",
await daySevenB(),
);
console.log(
"(Day 8) Part 1:",
await dayEightA(),
"\n Part 2:",
await dayEightB(),
);
console.log(
"(Day 9) Part 1:",
await dayNineA(),
"\n Part 2:",
await dayNineB(),
);
console.log(
"(Day 10) Part 1:",
await dayTenA(),
"\n Part 2:",
await dayTenB(),
);
console.log(
"(Day 11) Part 1:",
await dayElevenA(),
"\n Part 2:",
await dayElevenB(),
);
console.log(
"(Day 12) Part 1:",
await dayTwelveA(),
"\n Part 2:",
await dayTwelveB(),
);
console.log(
"(Day 13) Part 1:",
await dayThirteenA(),
"\n Part 2:",
await dayThirteenB(),
);
}