25 lines
570 B
C#
25 lines
570 B
C#
|
// See https://aka.ms/new-console-template for more information
|
|||
|
|
|||
|
using AoC24;
|
|||
|
|
|||
|
var levelSolver = new Level5Solver();
|
|||
|
var solution1 = levelSolver.SolveFirstStar();
|
|||
|
var solution2 = levelSolver.SolveSecondStar();
|
|||
|
|
|||
|
if (!string.IsNullOrEmpty(solution1))
|
|||
|
{
|
|||
|
Console.WriteLine("Solution for example 1 is: " + solution1);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
Console.WriteLine("Example 1 has not been solved yet!");
|
|||
|
}
|
|||
|
if (!string.IsNullOrEmpty(solution2))
|
|||
|
{
|
|||
|
Console.WriteLine("Solution for example 2 is: " + solution2);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
Console.WriteLine("Example 2 has not been solved yet!");
|
|||
|
}
|