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

Method add_point

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

Source from the content-addressed store, hash-verified

13 int n;
14 RMST() : n(0) {}
15 void add_point(int x, int y) {
16 arr[arr[n].i = n].x = x, arr[n++].y = y; }
17 void rec(int l, int r) {
18 if (l >= r) return;
19 int m = (l+r)/2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected