Skip to content

AlexHedley/adventofcode2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code (2021) 🎄

Advent Of Code 2021


Haskell C#

Ranking

Private Leaderboard

   |     |                   1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2
   |     | 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
15 | 204 | * ** ° ■ * ■ ■ ° ° ° ° ° ° ° ° ° ° ° ■ ■ ° ° ■ | 15

Key: * Both | ■ One | ° None |

Silver ■ Gold *
7 4

Solutions

This repo contains my solutions to the Advent of Code 2021 using primarily Haskell.

The code will likely be bad. :p

Setup

See WIKI for setup instructions for Haskell.

Running Solutions/Tests

Any tests I write will likely just be asserts in each solution file.

How to run the solution file for each day depends on the language.

Haskell

cabal build

ghci

Prelude> :load app/Main.hs

or

ghci app/Main.hs

Or if you have dependencies

cabal repl

Then run

*Main> main

C#

Any C# scripts will require dotnet-script.

For C# solutions dotnet script dayXX/solution.csx