ben
/
aoc
1
0
Fork 0

i fell off the wagon...
continuous-integration/drone/push Build is passing Details

i downloaded all the inputs and made empty classes, maybe i'll get around to doing the rest of the problems!
This commit is contained in:
Ben Harris 2022-12-30 23:23:10 -05:00
parent 2ac2a46db4
commit ea818feeb5
34 changed files with 392 additions and 0 deletions

View File

@ -57,6 +57,7 @@ public class Test2022
[DataRow(typeof(Day12), "31", "29")]
[DataRow(typeof(Day13), "13", "140")]
[DataRow(typeof(Day14), "24", "93")]
[DataRow(typeof(Day15), "", "")]
public void CheckTestInputs(Type dayType, string part1, string part2)
{
Common.CheckDay(dayType, part1, part2, true);

25
AOC2022/Day15.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 15: <a href="https://adventofcode.com/2022/day/15"/>
/// </summary>
public sealed class Day15 : Day
{
public Day15() : base(2022, 15, "Beacon Exclusion Zone")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day16.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 16: <a href="https://adventofcode.com/2022/day/16"/>
/// </summary>
public sealed class Day16 : Day
{
public Day16() : base(2022, 16, "Proboscidea Volcanium")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day17.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 17: <a href="https://adventofcode.com/2022/day/17"/>
/// </summary>
public sealed class Day17 : Day
{
public Day17() : base(2022, 17, "Pyroclastic Flow")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day18.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 18: <a href="https://adventofcode.com/2022/day/18"/>
/// </summary>
public sealed class Day18 : Day
{
public Day18() : base(2022, 18, "Boiling Boulders")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day19.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 19: <a href="https://adventofcode.com/2022/day/19"/>
/// </summary>
public sealed class Day19 : Day
{
public Day19() : base(2022, 19, "Not Enough Minerals")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day20.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 20: <a href="https://adventofcode.com/2022/day/20"/>
/// </summary>
public sealed class Day20 : Day
{
public Day20() : base(2022, 20, "Grove Positioning System")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day21.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 21: <a href="https://adventofcode.com/2022/day/21"/>
/// </summary>
public sealed class Day21 : Day
{
public Day21() : base(2022, 21, "Monkey Math")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day22.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 22: <a href="https://adventofcode.com/2022/day/22"/>
/// </summary>
public sealed class Day22 : Day
{
public Day22() : base(2022, 22, "Monkey Map")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day23.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 23: <a href="https://adventofcode.com/2022/day/23"/>
/// </summary>
public sealed class Day23 : Day
{
public Day23() : base(2022, 23, "Unstable Diffusion")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day24.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 24: <a href="https://adventofcode.com/2022/day/24"/>
/// </summary>
public sealed class Day24 : Day
{
public Day24() : base(2022, 24, "Blizzard Basin")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

25
AOC2022/Day25.cs Normal file
View File

@ -0,0 +1,25 @@
namespace AOC2022;
/// <summary>
/// Day 25: <a href="https://adventofcode.com/2022/day/25"/>
/// </summary>
public sealed class Day25 : Day
{
public Day25() : base(2022, 25, "Full of Hot Air")
{
}
public override void ProcessInput()
{
}
public override object Part1()
{
return "";
}
public override object Part2()
{
return "";
}
}

View File

@ -0,0 +1,28 @@
Sensor at x=1638847, y=3775370: closest beacon is at x=2498385, y=3565515
Sensor at x=3654046, y=17188: closest beacon is at x=3628729, y=113719
Sensor at x=3255262, y=2496809: closest beacon is at x=3266439, y=2494761
Sensor at x=3743681, y=1144821: closest beacon is at x=3628729, y=113719
Sensor at x=801506, y=2605771: closest beacon is at x=1043356, y=2000000
Sensor at x=2933878, y=5850: closest beacon is at x=3628729, y=113719
Sensor at x=3833210, y=12449: closest beacon is at x=3628729, y=113719
Sensor at x=2604874, y=3991135: closest beacon is at x=2498385, y=3565515
Sensor at x=1287765, y=1415912: closest beacon is at x=1043356, y=2000000
Sensor at x=3111474, y=3680987: closest beacon is at x=2498385, y=3565515
Sensor at x=2823460, y=1679092: closest beacon is at x=3212538, y=2537816
Sensor at x=580633, y=1973060: closest beacon is at x=1043356, y=2000000
Sensor at x=3983949, y=236589: closest beacon is at x=3628729, y=113719
Sensor at x=3312433, y=246388: closest beacon is at x=3628729, y=113719
Sensor at x=505, y=67828: closest beacon is at x=-645204, y=289136
Sensor at x=1566406, y=647261: closest beacon is at x=1043356, y=2000000
Sensor at x=2210221, y=2960790: closest beacon is at x=2498385, y=3565515
Sensor at x=3538385, y=1990300: closest beacon is at x=3266439, y=2494761
Sensor at x=3780372, y=2801075: closest beacon is at x=3266439, y=2494761
Sensor at x=312110, y=1285740: closest beacon is at x=1043356, y=2000000
Sensor at x=51945, y=2855778: closest beacon is at x=-32922, y=3577599
Sensor at x=1387635, y=2875487: closest beacon is at x=1043356, y=2000000
Sensor at x=82486, y=3631563: closest beacon is at x=-32922, y=3577599
Sensor at x=3689149, y=3669721: closest beacon is at x=3481800, y=4169166
Sensor at x=2085975, y=2190591: closest beacon is at x=1043356, y=2000000
Sensor at x=712588, y=3677889: closest beacon is at x=-32922, y=3577599
Sensor at x=22095, y=3888893: closest beacon is at x=-32922, y=3577599
Sensor at x=3248397, y=2952817: closest beacon is at x=3212538, y=2537816

View File

@ -0,0 +1,64 @@
Valve MU has flow rate=0; tunnels lead to valves VT, LA
Valve TQ has flow rate=0; tunnels lead to valves HU, SU
Valve YH has flow rate=0; tunnels lead to valves CN, BN
Valve EO has flow rate=0; tunnels lead to valves IK, CN
Valve MH has flow rate=0; tunnels lead to valves GG, HG
Valve RJ has flow rate=0; tunnels lead to valves AA, RI
Valve XZ has flow rate=0; tunnels lead to valves PX, VT
Valve UU has flow rate=0; tunnels lead to valves DT, XG
Valve KV has flow rate=13; tunnels lead to valves HN, CV, PE, XD, TA
Valve SU has flow rate=19; tunnels lead to valves TQ, HF, OL, SF
Valve BB has flow rate=0; tunnels lead to valves NS, HR
Valve RI has flow rate=4; tunnels lead to valves ML, EE, TZ, RJ, PE
Valve TZ has flow rate=0; tunnels lead to valves VT, RI
Valve LY has flow rate=0; tunnels lead to valves EE, RP
Valve PX has flow rate=0; tunnels lead to valves XZ, JQ
Valve VH has flow rate=0; tunnels lead to valves DT, TA
Valve HN has flow rate=0; tunnels lead to valves KV, LR
Valve LR has flow rate=0; tunnels lead to valves HR, HN
Valve NJ has flow rate=0; tunnels lead to valves QF, JC
Valve AM has flow rate=0; tunnels lead to valves OJ, AA
Valve FM has flow rate=0; tunnels lead to valves VT, RP
Valve VT has flow rate=5; tunnels lead to valves IP, XZ, TZ, FM, MU
Valve HF has flow rate=0; tunnels lead to valves NR, SU
Valve HR has flow rate=11; tunnels lead to valves BB, KO, LR
Valve WX has flow rate=0; tunnels lead to valves CN, IP
Valve PE has flow rate=0; tunnels lead to valves KV, RI
Valve QF has flow rate=17; tunnels lead to valves YI, NJ
Valve EE has flow rate=0; tunnels lead to valves LY, RI
Valve UH has flow rate=25; tunnel leads to valve YI
Valve CV has flow rate=0; tunnels lead to valves KV, NS
Valve SF has flow rate=0; tunnels lead to valves YN, SU
Valve RP has flow rate=3; tunnels lead to valves HG, FM, OJ, IK, LY
Valve XD has flow rate=0; tunnels lead to valves IL, KV
Valve GG has flow rate=12; tunnels lead to valves ML, IL, MH, OL, KA
Valve XG has flow rate=0; tunnels lead to valves LI, UU
Valve YA has flow rate=21; tunnels lead to valves UJ, GQ
Valve OL has flow rate=0; tunnels lead to valves GG, SU
Valve AN has flow rate=0; tunnels lead to valves AA, IX
Valve LI has flow rate=15; tunnel leads to valve XG
Valve GQ has flow rate=0; tunnels lead to valves YA, KO
Valve HU has flow rate=0; tunnels lead to valves TQ, DT
Valve OJ has flow rate=0; tunnels lead to valves RP, AM
Valve YN has flow rate=0; tunnels lead to valves SF, JQ
Valve ML has flow rate=0; tunnels lead to valves RI, GG
Valve UJ has flow rate=0; tunnels lead to valves YA, NS
Valve IX has flow rate=0; tunnels lead to valves AN, JQ
Valve JC has flow rate=0; tunnels lead to valves JQ, NJ
Valve TA has flow rate=0; tunnels lead to valves KV, VH
Valve DT has flow rate=16; tunnels lead to valves UU, HU, KA, VH
Valve NR has flow rate=0; tunnels lead to valves HF, CN
Valve YI has flow rate=0; tunnels lead to valves QF, UH
Valve AA has flow rate=0; tunnels lead to valves AM, AN, BN, LA, RJ
Valve BN has flow rate=0; tunnels lead to valves AA, YH
Valve KA has flow rate=0; tunnels lead to valves GG, DT
Valve IL has flow rate=0; tunnels lead to valves GG, XD
Valve CN has flow rate=7; tunnels lead to valves YH, EO, WX, NR, OM
Valve IP has flow rate=0; tunnels lead to valves WX, VT
Valve OM has flow rate=0; tunnels lead to valves CN, JQ
Valve KO has flow rate=0; tunnels lead to valves GQ, HR
Valve LA has flow rate=0; tunnels lead to valves AA, MU
Valve JQ has flow rate=6; tunnels lead to valves IX, JC, PX, YN, OM
Valve IK has flow rate=0; tunnels lead to valves EO, RP
Valve HG has flow rate=0; tunnels lead to valves MH, RP
Valve NS has flow rate=23; tunnels lead to valves CV, BB, UJ

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1 @@
Puzzle inputs differ by user. Please log in to get your puzzle input.

View File

@ -0,0 +1,14 @@
Sensor at x=2, y=18: closest beacon is at x=-2, y=15
Sensor at x=9, y=16: closest beacon is at x=10, y=16
Sensor at x=13, y=2: closest beacon is at x=15, y=3
Sensor at x=12, y=14: closest beacon is at x=10, y=16
Sensor at x=10, y=20: closest beacon is at x=10, y=16
Sensor at x=14, y=17: closest beacon is at x=10, y=16
Sensor at x=8, y=7: closest beacon is at x=2, y=10
Sensor at x=2, y=0: closest beacon is at x=2, y=10
Sensor at x=0, y=11: closest beacon is at x=2, y=10
Sensor at x=20, y=14: closest beacon is at x=25, y=17
Sensor at x=17, y=20: closest beacon is at x=21, y=22
Sensor at x=16, y=7: closest beacon is at x=15, y=3
Sensor at x=14, y=3: closest beacon is at x=15, y=3
Sensor at x=20, y=1: closest beacon is at x=15, y=3

View File

View File

@ -0,0 +1 @@
>>><<><>><<<>><>>><<<>>><<<><<<>><>><<>>

View File

View File

View File

View File

View File

View File

View File

View File