summaryrefslogtreecommitdiff
path: root/src/bin/day_1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/day_1.rs')
-rw-r--r--src/bin/day_1.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/bin/day_1.rs b/src/bin/day_1.rs
new file mode 100644
index 0000000..7c9cdbf
--- /dev/null
+++ b/src/bin/day_1.rs
@@ -0,0 +1,18 @@
+extern crate advent_of_code_2018;
+use advent_of_code_2018::*;
+
+use std::error::Error;
+use std::path::PathBuf;
+
+// cargo watch -cs "cargo run --bin day_1"
+
+fn main() -> Result<(), Box<Error>> {
+ let input = read_file(&PathBuf::from("inputs/1.txt"))?;
+
+ println!("Input: {:?}", input);
+
+
+
+
+ Ok(())
+}