MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / main

Function main

Strings/Z Algorithm.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 return z;
20}
21int32_t main() {
22 string s;
23 cin >> s;
24 vector<int> ans = z_function(s);
25 for(auto x : ans) cout << x << ' ';
26 return 0;
27}

Callers

nothing calls this directly

Calls 1

z_functionFunction · 0.85

Tested by

no test coverage detected