Skip to content

Commit 9f30f08

Browse files
committed
9u
1 parent 46a86a6 commit 9f30f08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/9.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace {
44
using Pos = std::complex<long>;
55

6-
template <size_t N> long p1(const auto &input) {
6+
template <size_t N> long p(const auto &input) {
77
auto Hasher = [](const Pos &k) -> std::size_t {
88
return std::hash<long>()(k.real()) ^ std::hash<long>()(k.imag());
99
};
@@ -35,6 +35,6 @@ template <size_t N> long p1(const auto &input) {
3535

3636
int main() {
3737
const auto &input = gb::advent2021::readIn();
38-
gb::advent2021::writeOut(std::to_string(p1<2>(input)));
39-
gb::advent2021::writeOut(std::to_string(p1<10>(input)));
38+
gb::advent2021::writeOut(std::to_string(p<2>(input)));
39+
gb::advent2021::writeOut(std::to_string(p<10>(input)));
4040
}

0 commit comments

Comments
 (0)