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

Method operator()

code/strings/suffix_array.test.cpp:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 string s;
7 cmp(int *_idx, string _s) : idx(_idx), s(_s) { }
8 bool operator()(int a, int b) const {
9 return s.substr(a) < s.substr(b);
10 }
11};
12
13struct naive_suffix_array {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected