From 349b87bf57c84c2982900a9536189549f8ede2b5 Mon Sep 17 00:00:00 2001 From: Firewire Date: Mon, 1 Dec 2025 02:02:04 -0500 Subject: [PATCH] D1P1 Done --- input/day1/p1-test.txt | 10 ++++++++++ src/day1/p1/main.cpp | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 input/day1/p1-test.txt diff --git a/input/day1/p1-test.txt b/input/day1/p1-test.txt new file mode 100644 index 0000000..d03fad7 --- /dev/null +++ b/input/day1/p1-test.txt @@ -0,0 +1,10 @@ +L68 +L30 +R48 +L5 +R60 +L55 +L1 +L99 +R14 +L82 \ No newline at end of file diff --git a/src/day1/p1/main.cpp b/src/day1/p1/main.cpp index 14921e2..c55bc23 100644 --- a/src/day1/p1/main.cpp +++ b/src/day1/p1/main.cpp @@ -125,13 +125,8 @@ auto parse(const std::string& filename) -> std::expected