aboutsummaryrefslogtreecommitdiff
path: root/src/2018/day9/aoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2018/day9/aoc.cpp')
-rw-r--r--src/2018/day9/aoc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/2018/day9/aoc.cpp b/src/2018/day9/aoc.cpp
index 585f144..7771b28 100644
--- a/src/2018/day9/aoc.cpp
+++ b/src/2018/day9/aoc.cpp
@@ -2,4 +2,10 @@
namespace aoc2018 {
+int day9(int players, int point) {
+ marble_circle mc(point, players);
+ mc.alloc(23);
+ return mc.high();
}
+
+} // namespace aoc2018