26 lines
630 B
C#
26 lines
630 B
C#
// See https://aka.ms/new-console-template for more information
|
|
|
|
using AoC24;
|
|
|
|
var levelSolver1 = new LevelXSolver_FullText();
|
|
var levelSolver2 = new LevelXSolver_Fragment();
|
|
var solution1 = levelSolver1.SolveFirstStar();
|
|
var solution2 = levelSolver2.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!");
|
|
}
|