Add 2015 templates

This commit is contained in:
Thraix
2026-07-26 00:11:32 +02:00
parent a9ac1c2c98
commit 2a7353d702
50 changed files with 775 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#include "common/aoc.h"
namespace y2015::day16
{
REGISTER_DAY(2015, Day16, std::vector<int>, 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<int> vec;
std::string str;
while (getline(input, str))
{
}
return vec;
}
OUTPUT1(input)
{
return 0;
}
OUTPUT2(input)
{
return 0;
}
}