Day03: Statement, input data and failing test

This commit is contained in:
2018-12-03 17:25:46 +01:00
parent 5974f6f7f2
commit a9ef8d58d3
6 changed files with 1366 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ namespace AdventOfCode2018
{
private static void Main(string[] args)
{
int currentDay = 2;
int currentDay = 3;
if (currentDay == 1)
{
@@ -31,6 +31,15 @@ namespace AdventOfCode2018
Console.WriteLine("Day02_Part2 Result: {0}", resultDay02Part2);
}
if (currentDay == 3)
{
// Resolve Day03
Day03 day03 = new Day03();
string[] linesDay03 = File.ReadAllLines("inputs/Day03.txt");
string resultDay03 = day03.ResolveDay03(linesDay03);
Console.WriteLine("Day03 Result: {0}", resultDay03);
}
Console.Read();
}
}