Add 2016 templates

This commit is contained in:
Thraix
2026-08-06 21:33:10 +02:00
parent 9237445a13
commit 80eacc6ed2
50 changed files with 776 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#include "common/aoc.h"
namespace y2016::day07
{
REGISTER_DAY(2016, Day07, std::vector<int>, int);
REGISTER_TEST_EXAMPLE(2016, Day07, ExampleInput, 1, 0);
REGISTER_TEST(2016, Day07, Input, 1, 0);
REGISTER_TEST_EXAMPLE(2016, Day07, ExampleInput, 2, 0);
REGISTER_TEST(2016, Day07, Input, 2, 0);
READ_INPUT(input)
{
std::vector<int> vec;
std::string str;
while (getline(input, str))
{
}
return vec;
}
OUTPUT1(input)
{
return 0;
}
OUTPUT2(input)
{
return 0;
}
}