#include "common.h" #include namespace aoc2022 { struct elf { int x; int y; friend bool operator<(elf e1, elf e2) { return e1.x < e2.x ? true : e1.x > e2.x ? false : e1.y < e2.y; } friend bool operator==(elf e1, elf e2) { return e1.x == e2.x && e1.y == e2.y; } }; std::pair day23(line_view); } // namespace aoc2022