Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olehkorchytskyi/swift-aoc-2023
Solving Advent of Code 2023 challenges in Swift.
https://github.com/olehkorchytskyi/swift-aoc-2023
advent-of-code advent-of-code-2023 advent-of-code-2023-swift swift
Last synced: 25 days ago
JSON representation
Solving Advent of Code 2023 challenges in Swift.
- Host: GitHub
- URL: https://github.com/olehkorchytskyi/swift-aoc-2023
- Owner: OlehKorchytskyi
- License: apache-2.0
- Created: 2023-12-05T17:54:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-07T20:55:32.000Z (about 1 year ago)
- Last Synced: 2023-12-07T21:35:04.089Z (about 1 year ago)
- Topics: advent-of-code, advent-of-code-2023, advent-of-code-2023-swift, swift
- Language: Swift
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2023
This project showcases my solutions for each day's challenge in Swift.
## Project Structure
- `Sources/Data/Day##.txt`: the input data provided for the challenge;
- `Sources/Day##.swift`: the code to solve the challenge;
- `Tests/Day##.swift`: unit tests for par1 and part2 of the challenge.## How to Run
To run the solutions, you can use the following command:
```bash
swift run AdventOfCode [--benchmark]
```For example, to run the solution for Day 4 with benchmarking:
```bash
swift run AdventOfCode 4 --benchmark
```## Acknowledgments
This project is based on the template from [swift-aoc-starter-example](https://github.com/apple/swift-aoc-starter-example). Special thanks to the contributors for providing a solid foundation.