Skip to content

Commit 399296e

Browse files
committed
remove slow test LOL
1 parent d948325 commit 399296e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/library_checker_aizu_tests/strings/longest_common_substring.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ int main() {
1212
pair<int, int> substr_s = {0, 0}, substr_t = {0, 0};
1313
for (int i = 0; i < sz(sf_a.lcp); i++) {
1414
if (both[sf_a.sa[i]] == '$' ||
15-
both[sf_a.sa[i + 1]] == '$')
15+
both[sf_a.sa[i + 1]] == '$')
1616
continue;
1717
bool before_in_s = (sf_a.sa[i] < sz(s));
1818
bool after_in_s = (sf_a.sa[i + 1] < sz(s));
1919
if (before_in_s ^ after_in_s) {
2020
if (sf_a.lcp[i] > substr_s.second - substr_s.first) {
2121
substr_s = {sf_a.sa[i], sf_a.sa[i] + sf_a.lcp[i]};
2222
substr_t = {
23-
sf_a.sa[i + 1], sf_a.sa[i + 1] + sf_a.lcp[i]};
23+
sf_a.sa[i + 1], sf_a.sa[i + 1] + sf_a.lcp[i]};
2424
if (after_in_s) swap(substr_s, substr_t);
2525
substr_t.first -= int(sz(s)) + 1;
2626
substr_t.second -= int(sz(s)) + 1;

0 commit comments

Comments
 (0)