Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pchol22/adventofcode-23

This repository contains my solutions to the Advent of Code 2023 challenges, written in JavaScript and C++
https://github.com/pchol22/adventofcode-23

advent-of-code competitive-programming cpp javascript

Last synced: about 3 hours ago
JSON representation

This repository contains my solutions to the Advent of Code 2023 challenges, written in JavaScript and C++

Awesome Lists containing this project

README

        

# Advent of Code 2023 - JavaScript and C++ - By Pchol22

This repository contains my solutions to the [Advent of Code 2023](https://adventofcode.com/2023) challenges.

- 🏆 I am competing using **JavaScript**.
- 🐣 I also try to solve the challenges using **C++**, to get better at it.

Each folder contains the JS and C++ solution to the corresponding day, plus a input.txt file containing **MY** input data for that day. Replace the input data with your own if you need to!

## How to run JavaScript solutions?

Example for day 1:

```bash
node ./day01/solution.js
```

## How to run C++ solutions?

Example for day 1:

```bash
cd ./day01
g++ solution.cpp -o output && ./output && rm output
```

## My results so far using the **JavaScript** solutions

### Day 1

⭐️: **683**th - ⭐️⭐️: **3249**th - [View solution](./day01/solution.js)

### Day 2

⭐️: **1766**th - ⭐️⭐️: **1500**th - [View solution](./day02/solution.js)

### Day 3

⭐️: **4442**th - ⭐️⭐️: **4803**th - [View solution](./day03/solution.js)

### Day 4

⭐️: **597**th - ⭐️⭐️: **4495**th - [View solution](./day04/solution.js)

### Day 5

⭐️: **2515**th - ⭐️⭐️: **1412**th - [View solution](./day05/solution.js)

### Day 6

⭐️: **2269**th - ⭐️⭐️: **2387**th - [View solution](./day06/solution.js)

### Day 7

⭐️: **925**th - ⭐️⭐️: **1402**th - [View solution](./day07/solution.js)

### Day 8 🍻 🤮 😴 😵‍💫 (started at T+12H)

⭐️: **45121**th - ⭐️⭐️: **31928**th - [View solution](./day08/solution.js)

### Day 9

⭐️: **1625**th - ⭐️⭐️: **1375**th - [View solution](./day09/solution.js)

### Day 10 😴 (started at T+5H)

⭐️: **17015**th - ⭐️⭐️: **8378**th - [View solution](./day10/solution.js)

### Day 11

⭐️: **842**th - ⭐️⭐️: **623**th - [View solution](./day11/solution.js)

### Day 12

⭐️: **509**th - ⭐️⭐️: **2200**th - [View solution](./day12/solution.js)