MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / d1

Method d1

code/geometry/rmst.cpp:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 int i; ll x, y;
5 point() : i(-1) { }
6 ll d1() { return x + y; }
7 ll d2() { return x - y; }
8 ll dist(point other) {
9 return abs(x - other.x) + abs(y - other.y); }

Callers 1

recMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected