44 lines
961 B
C#
44 lines
961 B
C#
|
namespace AoC24;
|
|||
|
|
|||
|
using AoC24.Common;
|
|||
|
using AoCLevelInputProvider;
|
|||
|
using Parsing;
|
|||
|
using Parsing.Schema;
|
|||
|
|
|||
|
public class LevelXSolver : LevelSolverBase
|
|||
|
{
|
|||
|
public override int LevelNumber
|
|||
|
{
|
|||
|
// TODO: update level number, csproj file and rename class!
|
|||
|
get { return 1; }
|
|||
|
}
|
|||
|
|
|||
|
protected override InputSchemaBuilder DefineInputSchema(InputSchemaBuilder schemaBuilder)
|
|||
|
{
|
|||
|
return schemaBuilder
|
|||
|
.Repeat()
|
|||
|
.Expect(InputType.Integer)
|
|||
|
.EndRepetition();
|
|||
|
}
|
|||
|
|
|||
|
public override string SolveFirstStar()
|
|||
|
{
|
|||
|
var data = this.GetData()
|
|||
|
.AsListRows<int>();
|
|||
|
|
|||
|
// TODO: implement
|
|||
|
|
|||
|
return string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
public override string SolveSecondStar()
|
|||
|
{
|
|||
|
var data = this.GetData()
|
|||
|
.AsListRows<int>();
|
|||
|
|
|||
|
// TODO: implement
|
|||
|
|
|||
|
return string.Empty;
|
|||
|
}
|
|||
|
}
|