Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Solutions

Solutions for Advent of Code written in Odin, for typescript solutions for years 2015-2025 check the typescript branch.

Commands

Commands are ran using go-task

Tip

Variables YEAR and DAY can be overwriten for all commands

# will create odin file and download input file to inputs/
#
# create current day
task new
task new YEAR=[year] DAY=[day]
# Will run the code for the specified part of day
# --test can be used to run against the test data from inputs/
# 
# Execute part of day
task run -- [part]
task run YEAR=[year] DAY=[day]-- [part]
# Benchmark part of day
# requires hyperfine to be 
task bench -- [part]
task bench YEAR=[year] DAY=[day] -- [part]
# Fetch input of day
# As the inputs are not shared with this repo (see below)
task get
task get YEAR=[year] DAY=[day]

Inputs

My personal inputs are not shared in this repository.

Althouhg it is not strictly forbidden it is asked by the creator to not share/collect personal inputs.

To refetch the input of an already created day task get YEAR=[year] DAY=[day] can be run.

About

Solutions for Advent Of Code

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages