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

https://github.com/yjl9903/aoc2024

My Solutions of Advent of Code 2024
https://github.com/yjl9903/aoc2024

advent-of-code advent-of-code-2024 moonbit

Last synced: 3 months ago
JSON representation

My Solutions of Advent of Code 2024

Awesome Lists containing this project

README

          

# Advent of Code 2024

See [Advent of Code 2024](https://adventofcode.com/2024).

![leaderboard](leaderboard.png)

## Usage

Install MoonBit

Install moonbit compiler.

```bash
curl -fsSL https://cli.moonbitlang.cn/install/unix.sh | bash -s minimoonbit
```

Install moonbit VS Code extension `moonbit.moonbit-lang`.

Then:

```bash
moon update
moon install
```

Run day01 / ... solutions:

```bash
moon test --target wasm-gc -p yjl9903/aoc2024/day01 -f main.mbt -i 0
```

## Difficulty Rank

Mystery: 14, 17, 21, 24

Medium Easy: 18, 19, 20

Easy: 5, 6, 7, 10, 11, 12, 13, 15, 16, 22, 23

Very Easy: 1, 2, 3, 4, 8, 9, 25

## Previous Years

- [2024](https://github.com/yjl9903/aoc2024): Solved with MoonBit
- [2023](https://github.com/yjl9903/aoc2023): Solved with C++ mostly

## License

MIT License © 2024 [XLor](https://github.com/yjl9903)