solve AOC day 4 pt 1

This commit is contained in:
2021-12-05 00:30:24 -07:00
parent acdc9650e5
commit 880712f59c
6 changed files with 702 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
package year2021;
import haxe.ds.Option;
typedef Board = {
uncalled:Array<Array<Option<Int>>>,
called:Array<Array<Option<Int>>>
};
typedef GameState = {
numbersToCall:Array<Int>,
boards:Array<Board>,
boardsByNumber:Map<Int,Array<Board>>
};