From 2a7353d7028c9206a431e2b9f9adfb25aff06d2c Mon Sep 17 00:00:00 2001 From: Thraix Date: Sun, 26 Jul 2026 00:11:32 +0200 Subject: [PATCH] Add 2015 templates --- res/2015/day01/test_input.txt | 0 res/2015/day02/test_input.txt | 0 res/2015/day03/test_input.txt | 0 res/2015/day04/test_input.txt | 0 res/2015/day05/test_input.txt | 0 res/2015/day06/test_input.txt | 0 res/2015/day07/test_input.txt | 0 res/2015/day08/test_input.txt | 0 res/2015/day09/test_input.txt | 0 res/2015/day10/test_input.txt | 0 res/2015/day11/test_input.txt | 0 res/2015/day12/test_input.txt | 0 res/2015/day13/test_input.txt | 0 res/2015/day14/test_input.txt | 0 res/2015/day15/test_input.txt | 0 res/2015/day16/test_input.txt | 0 res/2015/day17/test_input.txt | 0 res/2015/day18/test_input.txt | 0 res/2015/day19/test_input.txt | 0 res/2015/day20/test_input.txt | 0 res/2015/day21/test_input.txt | 0 res/2015/day22/test_input.txt | 0 res/2015/day23/test_input.txt | 0 res/2015/day24/test_input.txt | 0 res/2015/day25/test_input.txt | 0 src/2015/Day01.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day02.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day03.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day04.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day05.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day06.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day07.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day08.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day09.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day10.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day11.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day12.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day13.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day14.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day15.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day16.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day17.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day18.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day19.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day20.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day21.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day22.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day23.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day24.cpp | 31 +++++++++++++++++++++++++++++++ src/2015/Day25.cpp | 31 +++++++++++++++++++++++++++++++ 50 files changed, 775 insertions(+) create mode 100644 res/2015/day01/test_input.txt create mode 100644 res/2015/day02/test_input.txt create mode 100644 res/2015/day03/test_input.txt create mode 100644 res/2015/day04/test_input.txt create mode 100644 res/2015/day05/test_input.txt create mode 100644 res/2015/day06/test_input.txt create mode 100644 res/2015/day07/test_input.txt create mode 100644 res/2015/day08/test_input.txt create mode 100644 res/2015/day09/test_input.txt create mode 100644 res/2015/day10/test_input.txt create mode 100644 res/2015/day11/test_input.txt create mode 100644 res/2015/day12/test_input.txt create mode 100644 res/2015/day13/test_input.txt create mode 100644 res/2015/day14/test_input.txt create mode 100644 res/2015/day15/test_input.txt create mode 100644 res/2015/day16/test_input.txt create mode 100644 res/2015/day17/test_input.txt create mode 100644 res/2015/day18/test_input.txt create mode 100644 res/2015/day19/test_input.txt create mode 100644 res/2015/day20/test_input.txt create mode 100644 res/2015/day21/test_input.txt create mode 100644 res/2015/day22/test_input.txt create mode 100644 res/2015/day23/test_input.txt create mode 100644 res/2015/day24/test_input.txt create mode 100644 res/2015/day25/test_input.txt create mode 100644 src/2015/Day01.cpp create mode 100644 src/2015/Day02.cpp create mode 100644 src/2015/Day03.cpp create mode 100644 src/2015/Day04.cpp create mode 100644 src/2015/Day05.cpp create mode 100644 src/2015/Day06.cpp create mode 100644 src/2015/Day07.cpp create mode 100644 src/2015/Day08.cpp create mode 100644 src/2015/Day09.cpp create mode 100644 src/2015/Day10.cpp create mode 100644 src/2015/Day11.cpp create mode 100644 src/2015/Day12.cpp create mode 100644 src/2015/Day13.cpp create mode 100644 src/2015/Day14.cpp create mode 100644 src/2015/Day15.cpp create mode 100644 src/2015/Day16.cpp create mode 100644 src/2015/Day17.cpp create mode 100644 src/2015/Day18.cpp create mode 100644 src/2015/Day19.cpp create mode 100644 src/2015/Day20.cpp create mode 100644 src/2015/Day21.cpp create mode 100644 src/2015/Day22.cpp create mode 100644 src/2015/Day23.cpp create mode 100644 src/2015/Day24.cpp create mode 100644 src/2015/Day25.cpp diff --git a/res/2015/day01/test_input.txt b/res/2015/day01/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day02/test_input.txt b/res/2015/day02/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day03/test_input.txt b/res/2015/day03/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day04/test_input.txt b/res/2015/day04/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day05/test_input.txt b/res/2015/day05/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day06/test_input.txt b/res/2015/day06/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day07/test_input.txt b/res/2015/day07/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day08/test_input.txt b/res/2015/day08/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day09/test_input.txt b/res/2015/day09/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day10/test_input.txt b/res/2015/day10/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day11/test_input.txt b/res/2015/day11/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day12/test_input.txt b/res/2015/day12/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day13/test_input.txt b/res/2015/day13/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day14/test_input.txt b/res/2015/day14/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day15/test_input.txt b/res/2015/day15/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day16/test_input.txt b/res/2015/day16/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day17/test_input.txt b/res/2015/day17/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day18/test_input.txt b/res/2015/day18/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day19/test_input.txt b/res/2015/day19/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day20/test_input.txt b/res/2015/day20/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day21/test_input.txt b/res/2015/day21/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day22/test_input.txt b/res/2015/day22/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day23/test_input.txt b/res/2015/day23/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day24/test_input.txt b/res/2015/day24/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/res/2015/day25/test_input.txt b/res/2015/day25/test_input.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/2015/Day01.cpp b/src/2015/Day01.cpp new file mode 100644 index 0000000..2cc5f3f --- /dev/null +++ b/src/2015/Day01.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day01 +{ + REGISTER_DAY(2015, Day01, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day01, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day01, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day01, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day01, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day02.cpp b/src/2015/Day02.cpp new file mode 100644 index 0000000..530542d --- /dev/null +++ b/src/2015/Day02.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day02 +{ + REGISTER_DAY(2015, Day02, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day02, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day02, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day02, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day02, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day03.cpp b/src/2015/Day03.cpp new file mode 100644 index 0000000..8831d01 --- /dev/null +++ b/src/2015/Day03.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day03 +{ + REGISTER_DAY(2015, Day03, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day03, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day03, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day03, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day03, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day04.cpp b/src/2015/Day04.cpp new file mode 100644 index 0000000..060ab0b --- /dev/null +++ b/src/2015/Day04.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day04 +{ + REGISTER_DAY(2015, Day04, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day04, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day04, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day04, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day04, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day05.cpp b/src/2015/Day05.cpp new file mode 100644 index 0000000..03bd4e0 --- /dev/null +++ b/src/2015/Day05.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day05 +{ + REGISTER_DAY(2015, Day05, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day05, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day05, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day05, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day05, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day06.cpp b/src/2015/Day06.cpp new file mode 100644 index 0000000..8ce3e14 --- /dev/null +++ b/src/2015/Day06.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day06 +{ + REGISTER_DAY(2015, Day06, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day06, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day06, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day06, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day06, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day07.cpp b/src/2015/Day07.cpp new file mode 100644 index 0000000..051b8c1 --- /dev/null +++ b/src/2015/Day07.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day07 +{ + REGISTER_DAY(2015, Day07, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day07, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day07, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day07, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day07, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day08.cpp b/src/2015/Day08.cpp new file mode 100644 index 0000000..6bdf057 --- /dev/null +++ b/src/2015/Day08.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day08 +{ + REGISTER_DAY(2015, Day08, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day08, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day08, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day08, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day08, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day09.cpp b/src/2015/Day09.cpp new file mode 100644 index 0000000..b6f2e13 --- /dev/null +++ b/src/2015/Day09.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day09 +{ + REGISTER_DAY(2015, Day09, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day09, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day09, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day09, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day09, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day10.cpp b/src/2015/Day10.cpp new file mode 100644 index 0000000..f1e675d --- /dev/null +++ b/src/2015/Day10.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day10 +{ + REGISTER_DAY(2015, Day10, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day10, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day10, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day10, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day10, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day11.cpp b/src/2015/Day11.cpp new file mode 100644 index 0000000..95d8e3c --- /dev/null +++ b/src/2015/Day11.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day11 +{ + REGISTER_DAY(2015, Day11, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day11, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day11, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day11, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day11, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day12.cpp b/src/2015/Day12.cpp new file mode 100644 index 0000000..59c3e02 --- /dev/null +++ b/src/2015/Day12.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day12 +{ + REGISTER_DAY(2015, Day12, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day12, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day12, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day12, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day12, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day13.cpp b/src/2015/Day13.cpp new file mode 100644 index 0000000..7294e55 --- /dev/null +++ b/src/2015/Day13.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day13 +{ + REGISTER_DAY(2015, Day13, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day13, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day13, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day13, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day13, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day14.cpp b/src/2015/Day14.cpp new file mode 100644 index 0000000..e883855 --- /dev/null +++ b/src/2015/Day14.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day14 +{ + REGISTER_DAY(2015, Day14, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day14, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day14, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day14, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day14, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day15.cpp b/src/2015/Day15.cpp new file mode 100644 index 0000000..43f3304 --- /dev/null +++ b/src/2015/Day15.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day15 +{ + REGISTER_DAY(2015, Day15, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day15, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day15, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day15, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day15, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day16.cpp b/src/2015/Day16.cpp new file mode 100644 index 0000000..5b3ae7a --- /dev/null +++ b/src/2015/Day16.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day16 +{ + REGISTER_DAY(2015, Day16, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day16, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day16, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day16, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day16, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day17.cpp b/src/2015/Day17.cpp new file mode 100644 index 0000000..dd8a4d6 --- /dev/null +++ b/src/2015/Day17.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day17 +{ + REGISTER_DAY(2015, Day17, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day17, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day17, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day17, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day17, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day18.cpp b/src/2015/Day18.cpp new file mode 100644 index 0000000..264e396 --- /dev/null +++ b/src/2015/Day18.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day18 +{ + REGISTER_DAY(2015, Day18, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day18, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day18, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day18, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day18, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day19.cpp b/src/2015/Day19.cpp new file mode 100644 index 0000000..ee9906c --- /dev/null +++ b/src/2015/Day19.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day19 +{ + REGISTER_DAY(2015, Day19, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day19, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day19, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day19, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day19, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day20.cpp b/src/2015/Day20.cpp new file mode 100644 index 0000000..623e2e6 --- /dev/null +++ b/src/2015/Day20.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day20 +{ + REGISTER_DAY(2015, Day20, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day20, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day20, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day20, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day20, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day21.cpp b/src/2015/Day21.cpp new file mode 100644 index 0000000..5e9a622 --- /dev/null +++ b/src/2015/Day21.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day21 +{ + REGISTER_DAY(2015, Day21, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day21, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day21, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day21, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day21, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day22.cpp b/src/2015/Day22.cpp new file mode 100644 index 0000000..451c72a --- /dev/null +++ b/src/2015/Day22.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day22 +{ + REGISTER_DAY(2015, Day22, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day22, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day22, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day22, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day22, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day23.cpp b/src/2015/Day23.cpp new file mode 100644 index 0000000..5cbe0d5 --- /dev/null +++ b/src/2015/Day23.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day23 +{ + REGISTER_DAY(2015, Day23, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day23, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day23, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day23, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day23, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day24.cpp b/src/2015/Day24.cpp new file mode 100644 index 0000000..dcfa9a8 --- /dev/null +++ b/src/2015/Day24.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day24 +{ + REGISTER_DAY(2015, Day24, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day24, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day24, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day24, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day24, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +} diff --git a/src/2015/Day25.cpp b/src/2015/Day25.cpp new file mode 100644 index 0000000..4a7d6b8 --- /dev/null +++ b/src/2015/Day25.cpp @@ -0,0 +1,31 @@ +#include "common/aoc.h" + +namespace y2015::day25 +{ + REGISTER_DAY(2015, Day25, std::vector, int); + + REGISTER_TEST_EXAMPLE(2015, Day25, ExampleInput, 1, 0); + REGISTER_TEST(2015, Day25, Input, 1, 0); + REGISTER_TEST_EXAMPLE(2015, Day25, ExampleInput, 2, 0); + REGISTER_TEST(2015, Day25, Input, 2, 0); + + READ_INPUT(input) + { + std::vector vec; + std::string str; + while (getline(input, str)) + { + } + return vec; + } + + OUTPUT1(input) + { + return 0; + } + + OUTPUT2(input) + { + return 0; + } +}