aboutsummaryrefslogtreecommitdiff
path: root/src/2019/day6/aoc.h
blob: 98c05b7cff61396004a671349d7d3a94f4329652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once
#include "common.h"
#include <set>

namespace aoc2019 {

struct star {
  line_view name;
  std::set<star*> orbits = {};

  star(line_view lv): name(lv) {}
};

std::pair<int, int> day6(line_view);

} // namespace aoc2019