advent-of-code

Perserverance, or the lack thereof

git clone git://git.shimmy1996.com/advent-of-code.git
commit b57f94fdef09cbdda5ed7b453933dac8c68d68c6
parent dc599a59c59e0fa7bbadb17d9a15c5d526dc81e8
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  1 Dec 2019 23:39:41 -0500

Pring language used

Diffstat:
Mday-01/day-01.jl | 1+
Mday-01/day-01.rs | 1+
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/day-01/day-01.jl b/day-01/day-01.jl
@@ -17,5 +17,6 @@ function part_2(module_masses)
     end
 end
 
+println("Julia:")
 println("Part 1: ", part_1(input))
 println("Part 2: ", part_2(input))
diff --git a/day-01/day-01.rs b/day-01/day-01.rs
@@ -7,6 +7,7 @@ fn main() {
         .lines()
         .map(|line| line.unwrap().parse::<i32>().unwrap())
         .collect::<Vec<i32>>();
+    println!("Rust:");
     println!("Part 1: {}", part_1(&input));
     println!("Part 2: {}", part_2(&input));
 }