advent_of_code_2024/LevelTemplate/LevelXSolver_Fragment.cs

44 lines
976 B
C#

namespace AoC24;
using AoC24.Common;
using AoCLevelInputProvider;
using Parsing;
using Parsing.Schema;
public class LevelXSolver_Fragment : FragmentLevelSolverBase
{
public override int LevelNumber
{
// TODO: update level number, csproj file and rename class!
get { return 1; }
}
protected override FragmentSchemaBuilder DefineInputSchema(FragmentSchemaBuilder schemaBuilder)
{
return schemaBuilder
.Repeat()
.Expect(InputType.Integer)
.EndRepetition();
}
public override string SolveFirstStar()
{
var data = this.GetData()
.AsFragments();
// TODO: implement
return string.Empty;
}
public override string SolveSecondStar()
{
var data = this.GetData()
.AsFragments();
// TODO: implement
return string.Empty;
}
}