From 5e5c726ebbf977a3a170491353674dc23e22b8bb Mon Sep 17 00:00:00 2001 From: Dan Chadwick Date: Sat, 23 Nov 2024 23:28:18 -0500 Subject: [PATCH] Solution fixes --- 2015/days/day1.php | 2 +- 2015/solutions.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2015/days/day1.php b/2015/days/day1.php index 8afbbc9..ce7fce6 100644 --- a/2015/days/day1.php +++ b/2015/days/day1.php @@ -9,7 +9,7 @@ */ function day1solution1() { $start_time = microtime(true); - $instructions = file_get_contents('./inputs/day1.txt'); + $instructions = file_get_contents('./2015/inputs/day1.txt'); $up_floors = substr_count($instructions, "("); $down_floors = substr_count($instructions, ")"); $total = $up_floors - $down_floors; diff --git a/2015/solutions.php b/2015/solutions.php index 1344efb..f1c547e 100644 --- a/2015/solutions.php +++ b/2015/solutions.php @@ -1,10 +1,10 @@