Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acm-clan/algorithm-stone
/ SumRange
Method
SumRange
templates/binary-index-tree.cpp:51–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
}
50
51
int SumRange(int left, int right)
52
{
53
return Query(right + 1) - Query(left);
54
}
55
};
56
57
void test_perf(){
Callers
1
test
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected