Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ size
Method
size
code/data-structures/heap.cpp:58–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
assert(loc[n] != -1), swim(loc[n]), sink(loc[n]); }
57
bool empty() { return count == 0; }
58
int size() { return count; }
59
void clear() { count = 0, memset(loc, 255, len << 2); }};
60
// vim: cc=60 ts=2 sts=2 sw=2:
Callers
1
test
Function · 0.45
Calls
no outgoing calls
Tested by
1
test
Function · 0.36