Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ pt
Method
pt
code/data-structures/kd_tree.cpp:5–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
struct pt {
4
double coord[K];
5
pt() {}
6
pt(double c[K]) { rep(i,0,K) coord[i] = c[i]; }
7
double dist(const pt &other) const {
8
double sum = 0.0;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected