20 lines
394 B
C#
20 lines
394 B
C#
using System.Text;
|
|
|
|
using AdventOfCodeLibrary._2022;
|
|
using AdventOfCodeLibrary.Shared;
|
|
|
|
string _demoData = @"R 4
|
|
U 4
|
|
L 3
|
|
D 1
|
|
R 4
|
|
D 1
|
|
L 5
|
|
R 2";
|
|
|
|
Answerable answerable = new Day09Part2();
|
|
byte[] dataArray = File.ReadAllBytes(answerable.DefaultInputFile);
|
|
//dataArray = Encoding.UTF8.GetBytes(_demoData);
|
|
|
|
Console.WriteLine($"Answer: {answerable.GetAnswer(dataArray)}");
|
|
Console.ReadKey(true); |