MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator <

Method operator <

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

Source from the content-addressed store, hash-verified

8 ll dist(point other) {
9 return abs(x - other.x) + abs(y - other.y); }
10 bool operator <(const point &other) const {
11 return y == other.y ? x > other.x : y < other.y; }
12 } best[MAXN], arr[MAXN], tmp[MAXN];
13 int n;
14 RMST() : n(0) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected