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

Method cmp

code/data-structures/kd_tree.cpp:13–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 struct cmp {
12 int c;
13 cmp(int _c) : c(_c) {}
14 bool operator ()(const pt &a, const pt &b) const {
15 for (int i = 0, cc; i <= K; i++) {
16 cc = i == 0 ? c : i - 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected