MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / cmp

Method cmp

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

Source from the content-addressed store, hash-verified

5 int *idx;
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 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected