Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/icy-arctic-fox/aoc
Advent of Code
https://github.com/icy-arctic-fox/aoc
Last synced: 22 days ago
JSON representation
Advent of Code
- Host: GitHub
- URL: https://github.com/icy-arctic-fox/aoc
- Owner: icy-arctic-fox
- Created: 2023-12-03T05:46:19.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-23T19:34:14.000Z (about 1 year ago)
- Last Synced: 2024-10-30T19:08:45.877Z (2 months ago)
- Language: Crystal
- Size: 555 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code
This repository contains my answers for the [Advent of Code](https://adventofcode.com/) puzzles.
There is a year and day directory for each respective puzzle.
Inside each puzzle's directory is code for each part and the inputs.
The code assumes the input is fed through STDIN.
Therefore, to run a puzzle, simply do:```bash
./part-1.cr < input.txt
```The `example.txt` file is the sample input everyone is provided in the puzzle text.
The `input.txt` file is my input for the same puzzle.
There may be other text files for test cases.As of now, all puzzles solutions are written in [Crystal](https://crystal-lang.org/).