Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ segment
Class
segment
code/data-structures/sqrt_decomposition.cpp:1–3 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
struct segment {
2
vi arr;
3
segment(vi _arr) : arr(_arr) { } };
4
vector<segment> T;
5
int K;
6
void rebuild() {
Callers
3
rebuild
Function · 0.70
split
Function · 0.70
insert
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected