Skip to content

simanerush/aoc-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code in Swift 🎄

Language

My solutions for Advent of Code 2023.

Challenges

The challenges assume three files.

  • Data/DayNN.txt: the input data provided for the challenge
  • Sources/DayNN.swift: the solution
  • Tests/DayNN.swift: unit tests

The AdventOfCode.swift file controls which day's challenge is run with swift run. By default that runs the most recent challenge in the package.

To supply command line arguments use swift run AdventOfCode. For example, swift run -c release AdventOfCode --benchmark 3 builds the binary with full optimizations, and benchmarks the challenge for day 3.

Formatting

$ swift package format-source-code --allow-writing-to-package-directory

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages