Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jonathan-Uy/CSES-Solutions
/ main
Function
main
String Algorithms/Distinct Substrings.cpp:60–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
int main(){
61
scanf(
" %s"
, S);
62
N = (int) strlen(S);
63
64
init();
65
for(int i = 0; i < N; i++)
66
extend(S[i]);
67
calc();
68
69
printf(
"%lld\n"
, node[0].dp-1);
70
}
Callers
nothing calls this directly
Calls
3
init
Function · 0.70
extend
Function · 0.70
calc
Function · 0.70
Tested by
no test coverage detected