MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / PT

Method PT

Dynamic Programming Optimizations/Persistent CHT.cpp:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1struct PT {
2 int x, y;
3 PT(int x = 0, int y = 0): x(x), y(y) {}
4 friend ll dot(PT &a, PT &b) {
5 return 1ll * a.x * b.x + 1ll * a.y * b.y;
6 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected