Skip to content

Solutions for Advent of Code problems

Notifications You must be signed in to change notification settings

kadesignlab/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code solutions

This repository contains my attempts to solve Advent of Code problems. They are not elegant but work well.

❗❗❗ I highly recommend trying to solve problems yourself before looking for solutions from others, it will be more rewarding and fun! 😉

How to run

  1. Install dependencies:
npm install
  1. Set your session cookie to environment variable COOKIE in .env file:
COOKIE="session=qwerty12345"

You can get it from request header cookie or from browser cookies, obviously.

  1. Run the command:
# for day 1 of year 2021
npm run day 2021 1