aboutsummaryrefslogtreecommitdiff
path: root/test/test_2015.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-03-27 17:14:04 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-03-27 17:14:04 +0800
commit629e41af46c4c69182c6532fd187ce17cf41e7ae (patch)
tree9b711f45d87193a18495d6570f0427ee2cf402e2 /test/test_2015.cpp
parent147fee098150881928d3126f74f35cf8a67b27f0 (diff)
downloadadvent-of-code-629e41af46c4c69182c6532fd187ce17cf41e7ae.tar.gz
advent-of-code-629e41af46c4c69182c6532fd187ce17cf41e7ae.zip
day20 binary search
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r--test/test_2015.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp
index 9529c49..5fc6bc9 100644
--- a/test/test_2015.cpp
+++ b/test/test_2015.cpp
@@ -209,4 +209,8 @@ TEST_CASE("Medicine for Rudolph", "[day19]") {
REQUIRE(195 == p.second);
}
-TEST_CASE("Infinite Elves and Infinite Houses", "[day20]") {}
+TEST_CASE("Infinite Elves and Infinite Houses", "[day20]") {
+ auto p = aoc2015::day20(4);
+ // auto p = aoc2015::day20(36000000);
+ printf("%d %d\n", p.first, p.second);
+}