Complete day 7

This commit is contained in:
2024-12-18 19:42:59 -05:00
parent f6adc7a818
commit a00d173e0d
4 changed files with 1097 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ import com.mattrixwv.adventOfCode24.days.Problem1;
import com.mattrixwv.adventOfCode24.days.Problem10;
import com.mattrixwv.adventOfCode24.days.Problem11;
import com.mattrixwv.adventOfCode24.days.Problem12;
import com.mattrixwv.adventOfCode24.days.Problem13;
import com.mattrixwv.adventOfCode24.days.Problem14;
import com.mattrixwv.adventOfCode24.days.Problem2;
import com.mattrixwv.adventOfCode24.days.Problem3;
import com.mattrixwv.adventOfCode24.days.Problem4;
@@ -26,7 +28,7 @@ public class ProblemSelector{
//Holds the valid problem numbers
protected static final List<Integer> PROBLEM_NUMBERS = List.of(
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12
10, 11, 12, 13, 14
);
@@ -51,6 +53,8 @@ public class ProblemSelector{
case 10 : day = new Problem10(); break;
case 11 : day = new Problem11(); break;
case 12 : day = new Problem12(); break;
case 13 : day = new Problem13(); break;
case 14 : day = new Problem14(); break;
default: throw new InvalidParameterException();
}
return day;