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

Method d2

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

Source from the content-addressed store, hash-verified

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); }
10 bool operator <(const point &other) const {

Callers 1

recMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected