1
0

Update things

This commit is contained in:
2021-12-01 19:32:38 +01:00
parent ccfcf5a259
commit 322f8eb45a
53 changed files with 156 additions and 239 deletions
@@ -4,7 +4,6 @@ import be.vandewalleh.aoc.geometry.Direction2D;
import be.vandewalleh.aoc.geometry.Point2D;
import be.vandewalleh.aoc.utils.factory.Days;
import be.vandewalleh.aoc.utils.input.Day;
import be.vandewalleh.aoc.utils.input.Input;
import be.vandewalleh.aoc.utils.input.Lines;
import java.util.ArrayList;
@@ -23,9 +22,9 @@ public class Day03 {
private final String[] wireA;
private final String[] wireB;
public Day03(@Lines Input<List<String>> input) {
this.wireA = input.getValue().get(0).split(",");
this.wireB = input.getValue().get(1).split(",");
public Day03(@Lines List<String> input) {
this.wireA = input.get(0).split(",");
this.wireB = input.get(1).split(",");
}
private List<Point2D> path(String[] wire) {