Skip to content

Commit

Permalink
Merge pull request #175 from SocialFinanceDigitalLabs/matthew-aoc-day10
Browse files Browse the repository at this point in the history
Catching up before Christmas
  • Loading branch information
cyramic authored Dec 23, 2023
2 parents b5d58bc + 7550573 commit 636a168
Show file tree
Hide file tree
Showing 45 changed files with 3,996 additions and 2 deletions.
2 changes: 1 addition & 1 deletion solutions/2023/pughmds/bash/day01/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ run() {
echo $total
}

#result=$(run "../../inputs/day01/test1.txt")
#result=$(run "../../inputs/day01/test5.txt")
result=$(run "../../inputs/day01/input.txt")
echo "Result: $result"
2 changes: 1 addition & 1 deletion solutions/2023/pughmds/bash/day02/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ run() {



#result=$(run "../../inputs/day02/test1.txt")
#result=$(run "../../inputs/day02/test5.txt")
result=$(run "../../inputs/day02/input.txt")
echo "Result: $result"
140 changes: 140 additions & 0 deletions solutions/2023/pughmds/inputs/day10/input.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions solutions/2023/pughmds/inputs/day10/test1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.....
.S-7.
.|.|.
.L-J.
.....
5 changes: 5 additions & 0 deletions solutions/2023/pughmds/inputs/day10/test2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-L|F7
7S-7|
L|7||
-L-J|
L|-JF
5 changes: 5 additions & 0 deletions solutions/2023/pughmds/inputs/day10/test3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
..F7.
.FJ|.
SJ.L7
|F--J
LJ...
5 changes: 5 additions & 0 deletions solutions/2023/pughmds/inputs/day10/test4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
7-F7-
.FJ|7
SJLL7
|F--J
LJ.LJ
5 changes: 5 additions & 0 deletions solutions/2023/pughmds/inputs/day10/test5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
......
.S-7.|
.|.|.|
.L-J.|
.....F
3 changes: 3 additions & 0 deletions solutions/2023/pughmds/inputs/day10/test6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
S7.J|FLJFF.
||FLJ-J-FJ-
LJ|-J.F-JJ.
140 changes: 140 additions & 0 deletions solutions/2023/pughmds/inputs/day11/input.txt

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions solutions/2023/pughmds/inputs/day11/test1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
...#......
.......#..
#.........
..........
......#...
.#........
.........#
..........
.......#..
#...#.....
10 changes: 10 additions & 0 deletions solutions/2023/pughmds/inputs/day11/test2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
...#......
..........
..........
..........
..........
..........
..........
..........
.......#..
..........
2 changes: 2 additions & 0 deletions solutions/2023/pughmds/inputs/day11/test3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
##.
..#
Loading

0 comments on commit 636a168

Please sign in to comment.