Enable build support by adding .onedev-buildspec.yml
src | Loading last commit info... | |
.aocrunner.json | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json | ||
test.ts | ||
tsconfig.json |
README.md
🎄 Advent of Code 2021 🎄
Solutions
Click a badge to go to the specific day.
Installation
npm i
Running in dev mode
npm start <day>
Example:
npm start 1
Results
Day 01
Time part 1: 0.222ms
Time part 2: 0.812ms
Both parts: 1.034241ms
Day 02
Time part 1: 0.454ms
Time part 2: 0.47ms
Both parts: 0.9237329999999999ms
Day 03
Time part 1: 0.41ms
Time part 2: 36.296ms
Both parts: 36.706144ms
Day 04
Time part 1: 9.722ms
Time part 2: 10.207ms
Both parts: 19.929059ms
Day 05
Time part 1: 590.58ms
Time part 2: 1754.427ms
Both parts: 2345.0078439999997ms
Day 06
Time part 1: 0.063ms
Time part 2: 0.072ms
Both parts: 0.134598ms
Day 07
Time part 1: 40ms
Time part 2: 41.938ms
Both parts: 81.937781ms
Day 08
Time part 1: 4.04ms
Time part 2: 5.233ms
Both parts: 9.273392999999999ms
Day 09
Time part 1: 13.586ms
Time part 2: 24.689ms
Both parts: 38.2741ms
Day 10
Time part 1: 1.4ms
Time part 2: 1.552ms
Both parts: 2.9511570000000003ms
Day 11
Time part 1: 3.562ms
Time part 2: 13.3ms
Both parts: 16.862035ms
Day 12
Time part 1: 48.601ms
Time part 2: 1407.87ms
Both parts: 1456.470672ms
Day 13
Time part 1: 2.043ms
Time part 2: -
Both parts: 2.042845ms
Day 14
Time part 1: 0.77ms
Time part 2: 3.13ms
Both parts: 3.9001379999999997ms
Day 15
Time part 1: 20.982ms
Time part 2: 640.592ms
Both parts: 661.573991ms
Day 16
Time part 1: 0.774ms
Time part 2: 0.969ms
Both parts: 1.742752ms
Day 17
Time part 1: 32.608ms
Time part 2: 26.372ms
Both parts: 58.979772999999994ms
Day 18
Time part 1: 7.681ms
Time part 2: 248.258ms
Both parts: 255.93965799999998ms
Day 19
Time part 1: -
Time part 2: -
Both parts: -
Day 20
Time part 1: 87.373ms
Time part 2: 3320.328ms
Both parts: 3407.7011159999997ms
Day 21
Time part 1: 0.377ms
Time part 2: -
Both parts: 0.376823ms
Day 22
Time part 1: 1061.784ms
Time part 2: -
Both parts: 1061.784278ms
Day 23
Time part 1: -
Time part 2: -
Both parts: -
Day 24
Time part 1: -
Time part 2: -
Both parts: -
Day 25
Time part 1: -
Time part 2: -
Both parts: -
Total stars: 40/50
Total time: 9463.546ms
✨🎄🎁🎄🎅🎄🎁🎄✨