lots of stuff ive done.

maybe a status would be good?
This commit is contained in:
2025-08-29 08:12:33 -04:00
parent a48f5f6d11
commit 8aa7fe572f
66 changed files with 19390 additions and 142 deletions
+3 -3
View File
@@ -27,6 +27,7 @@
//
use std::{env, fs};
use aoc::read_data;
use crate::CardinalDirection::*;
#[derive(Debug)]
@@ -101,9 +102,8 @@ fn manhattan_distance(directions: &str) -> i32 {
}
fn main() {
let directions = fs::read_to_string(format!("{}/data/01_data.txt", env::var("CARGO_MANIFEST_DIR").unwrap())).unwrap();
let directions = directions.as_str();
let binding = read_data("2016_01_data.txt");
let directions = binding.as_str();
let parmas: Vec<(&str, i32)> = vec![
("R2, L3", 5),
("R2, R2, R2", 2),