Skip to content

JeremyEspresso/AoC-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AoC-2022


Use this repository as a template to run your C# AoC solutions.

Example setup

public class Day4 : BaseChallenge
{
    private readonly string Input;

    public Day4()
    {
        Input = LoadInput(File.ReadAllText, nameof(Day4));
    }

    public override string SolvePartOne()
    {
        throw new NotImplementedException();
    }

    public override string SolvePartTwo()
    {
        throw new NotImplementedException();
    }
}

Make sure to place the input files in the right folder. And make sure to set them to "copy if newer" so that they get copied to the output folder accordingly.


Running

Running the application without any arguments will run all Days in a benchmark

Adding a day: Day1 as an argument will run that specific day and write the output to the console

Add --bench as an argument after adding your day argument will run the specific day as a benchmark

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages