From 9a28d57b576b5b629027fe33e896b96b97c57370 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Fri, 16 Dec 2022 21:26:14 +0000 Subject: day15 pt1 --- input/day15.txt | 33 +++++++++++++++++++++++++++++++++ input/day15_ex.txt | 14 ++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 input/day15.txt create mode 100644 input/day15_ex.txt (limited to 'input') diff --git a/input/day15.txt b/input/day15.txt new file mode 100644 index 0000000..68b61fa --- /dev/null +++ b/input/day15.txt @@ -0,0 +1,33 @@ +Sensor at x=2899860, y=3122031: closest beacon is at x=2701269, y=3542780 +Sensor at x=1836719, y=1116779: closest beacon is at x=2037055, y=2000000 +Sensor at x=3995802, y=2706630: closest beacon is at x=3944538, y=3053285 +Sensor at x=2591204, y=2008272: closest beacon is at x=2597837, y=2509170 +Sensor at x=2546593, y=1538222: closest beacon is at x=2037055, y=2000000 +Sensor at x=252214, y=61954: closest beacon is at x=1087565, y=-690123 +Sensor at x=950, y=1106672: closest beacon is at x=-893678, y=1276864 +Sensor at x=1349445, y=1752783: closest beacon is at x=2037055, y=2000000 +Sensor at x=3195828, y=3483667: closest beacon is at x=3334657, y=3531523 +Sensor at x=2057761, y=2154359: closest beacon is at x=2037055, y=2000000 +Sensor at x=2315350, y=3364640: closest beacon is at x=2701269, y=3542780 +Sensor at x=327139, y=2426600: closest beacon is at x=-88420, y=3646947 +Sensor at x=3943522, y=2854345: closest beacon is at x=3944538, y=3053285 +Sensor at x=3358620, y=516881: closest beacon is at x=3260516, y=2246079 +Sensor at x=1788376, y=8679: closest beacon is at x=1087565, y=-690123 +Sensor at x=3344883, y=3537985: closest beacon is at x=3334657, y=3531523 +Sensor at x=2961064, y=2697125: closest beacon is at x=2597837, y=2509170 +Sensor at x=3780090, y=2093546: closest beacon is at x=3260516, y=2246079 +Sensor at x=3291917, y=3398703: closest beacon is at x=3334657, y=3531523 +Sensor at x=3999864, y=2998005: closest beacon is at x=3944538, y=3053285 +Sensor at x=2919272, y=3732950: closest beacon is at x=2701269, y=3542780 +Sensor at x=2057404, y=2947435: closest beacon is at x=2037055, y=2000000 +Sensor at x=1072126, y=645784: closest beacon is at x=1087565, y=-690123 +Sensor at x=3549465, y=2554712: closest beacon is at x=3260516, y=2246079 +Sensor at x=3550313, y=3121694: closest beacon is at x=3944538, y=3053285 +Sensor at x=3405149, y=3483630: closest beacon is at x=3334657, y=3531523 +Sensor at x=2600212, y=3961193: closest beacon is at x=2701269, y=3542780 +Sensor at x=1102632, y=3932527: closest beacon is at x=-88420, y=3646947 +Sensor at x=67001, y=3506079: closest beacon is at x=-88420, y=3646947 +Sensor at x=3994250, y=3975025: closest beacon is at x=3944538, y=3053285 +Sensor at x=3019750, y=2125144: closest beacon is at x=3260516, y=2246079 +Sensor at x=3282319, y=3656404: closest beacon is at x=3334657, y=3531523 +Sensor at x=2797371, y=3645126: closest beacon is at x=2701269, y=3542780 \ No newline at end of file diff --git a/input/day15_ex.txt b/input/day15_ex.txt new file mode 100644 index 0000000..652e631 --- /dev/null +++ b/input/day15_ex.txt @@ -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 \ No newline at end of file -- cgit v1.2.3-ZIG