Commit 6c29f53e authored by Marcel Behrmann's avatar Marcel Behrmann

day(10): cleanup

parent 73c2b51d
......@@ -6,34 +6,6 @@ const INPUT_FILE: &str = "input.txt";
fn main() {
let input = fs::read_to_string(INPUT_FILE).expect("Error reading input");
/*let input =
".#....#####...#..
##...##.#####..##
##...#...#.#####.
..#.....X...###..
..#.#.....#....##";
let input =
".#..##.###...#######
##.############..##.
.#.######.########.#
.###.#######.####.#.
#####.##.#.##.###.##
..#####..#.#########
####################
#.####....###.#.#.##
##.#################
#####.##.###..####..
..######..##.#######
####.##.####...##..#
.#####..#.######.###
##...#.##########...
#.##########.#######
.####.#.###.###.#.##
....##.##.###..#####
.#.#.###########.###
#.#.#.#####.####.###
###.##.####.##.#..##";*/
let input = input.lines();
let input: Vec<&str> = input.collect::<Vec<&str>>();
......@@ -161,7 +133,6 @@ fn get_asteroids_in_los(a: &Asteroid, list: &Vec<Asteroid>) -> Vec<Asteroid> {
asteroids
}
#[allow(unused_variables)]
fn part_02(input: Vec<&str>) -> i64 {
let mut y = 0.0;
let mut asteroids: Vec<Asteroid> = Vec::new();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment