Add day10 artifacts
This commit is contained in:
parent
81ce406018
commit
441e71e4f6
3 changed files with 153 additions and 0 deletions
145
2022/Data/day10-input.txt
Normal file
145
2022/Data/day10-input.txt
Normal file
|
@ -0,0 +1,145 @@
|
||||||
|
addx 1
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 4
|
||||||
|
addx 5
|
||||||
|
addx -2
|
||||||
|
addx 19
|
||||||
|
addx -12
|
||||||
|
addx 3
|
||||||
|
addx -2
|
||||||
|
addx 4
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 3
|
||||||
|
addx -8
|
||||||
|
addx 15
|
||||||
|
addx 1
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 6
|
||||||
|
addx -1
|
||||||
|
noop
|
||||||
|
addx -38
|
||||||
|
noop
|
||||||
|
addx 10
|
||||||
|
addx -5
|
||||||
|
noop
|
||||||
|
addx 3
|
||||||
|
addx 2
|
||||||
|
addx 7
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 3
|
||||||
|
noop
|
||||||
|
addx 2
|
||||||
|
addx 3
|
||||||
|
addx -2
|
||||||
|
addx 2
|
||||||
|
addx 7
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 9
|
||||||
|
noop
|
||||||
|
addx -12
|
||||||
|
noop
|
||||||
|
addx 11
|
||||||
|
addx -38
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 5
|
||||||
|
addx 5
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 3
|
||||||
|
addx -12
|
||||||
|
addx 14
|
||||||
|
noop
|
||||||
|
addx 1
|
||||||
|
addx 3
|
||||||
|
addx 1
|
||||||
|
addx 5
|
||||||
|
addx 4
|
||||||
|
addx 1
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx -9
|
||||||
|
addx 17
|
||||||
|
addx -39
|
||||||
|
addx 38
|
||||||
|
addx -8
|
||||||
|
addx -26
|
||||||
|
addx 3
|
||||||
|
addx 4
|
||||||
|
addx 16
|
||||||
|
noop
|
||||||
|
addx -11
|
||||||
|
addx 3
|
||||||
|
noop
|
||||||
|
addx 2
|
||||||
|
addx 3
|
||||||
|
addx -2
|
||||||
|
addx 2
|
||||||
|
noop
|
||||||
|
addx 13
|
||||||
|
addx -8
|
||||||
|
noop
|
||||||
|
addx 7
|
||||||
|
addx -5
|
||||||
|
addx 8
|
||||||
|
addx -40
|
||||||
|
addx 16
|
||||||
|
addx -9
|
||||||
|
noop
|
||||||
|
addx -7
|
||||||
|
addx 8
|
||||||
|
addx 2
|
||||||
|
addx 7
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx -15
|
||||||
|
addx 16
|
||||||
|
addx 2
|
||||||
|
addx 5
|
||||||
|
addx 2
|
||||||
|
addx -20
|
||||||
|
addx 12
|
||||||
|
addx 11
|
||||||
|
addx 8
|
||||||
|
addx -1
|
||||||
|
addx 3
|
||||||
|
noop
|
||||||
|
addx -39
|
||||||
|
addx 2
|
||||||
|
noop
|
||||||
|
addx 5
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 4
|
||||||
|
addx 1
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx 2
|
||||||
|
addx 5
|
||||||
|
addx 2
|
||||||
|
addx 1
|
||||||
|
addx 4
|
||||||
|
addx -1
|
||||||
|
addx 2
|
||||||
|
noop
|
||||||
|
addx 2
|
||||||
|
noop
|
||||||
|
addx 8
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
noop
|
||||||
|
addx -10
|
||||||
|
noop
|
||||||
|
noop
|
6
2022/aoc2022/src/day10.rs
Normal file
6
2022/aoc2022/src/day10.rs
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
const INPUT: &'static str = include_str!("../../Data/day10-input.txt");
|
||||||
|
|
||||||
|
pub fn main(_filename: &str) -> std::io::Result<()> {
|
||||||
|
Ok(())
|
||||||
|
}
|
|
@ -2,6 +2,7 @@ use std::env;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
mod day1;
|
mod day1;
|
||||||
|
mod day10;
|
||||||
mod day2;
|
mod day2;
|
||||||
mod day3;
|
mod day3;
|
||||||
mod day4;
|
mod day4;
|
||||||
|
@ -24,6 +25,7 @@ fn main() {
|
||||||
day7::main,
|
day7::main,
|
||||||
day8::main,
|
day8::main,
|
||||||
day9::main,
|
day9::main,
|
||||||
|
day10::main,
|
||||||
];
|
];
|
||||||
|
|
||||||
let args: Vec<String> = env::args().collect();
|
let args: Vec<String> = env::args().collect();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue