MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator <

Function operator <

code/strings/suffix_array.cpp:2–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1struct entry { ii nr; int p; };
2bool operator <(const entry &a, const entry &b) {
3 return a.nr < b.nr; }
4struct suffix_array {
5 string s; int n; vvi P; vector<entry> L; vi idx;
6 suffix_array(string _s) : s(_s), n(size(s)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected