test/cpv/library-checker-string/longest_common_substring.sa.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/longest_common_substring | ||
| 2 | #include "../../../src/str/lcs_sa/lib.hpp" | ||
| 3 | |||
| 4 | using namespace tifa_libs; | ||
| 5 | 28 | int main() { | |
| 6 |
1/2✓ Branch 2 taken 28 times.
✗ Branch 3 not taken.
|
28 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 7 | 28 | strn s, t; | |
| 8 |
2/4✓ Branch 1 taken 28 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 28 times.
✗ Branch 5 not taken.
|
28 | std::cin >> s >> t; |
| 9 | 28 | auto [a, b, c, d] = lcs_sa(s, t); | |
| 10 |
8/16✓ Branch 1 taken 28 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 28 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 28 times.
✗ Branch 8 not taken.
✓ Branch 10 taken 28 times.
✗ Branch 11 not taken.
✓ Branch 13 taken 28 times.
✗ Branch 14 not taken.
✓ Branch 16 taken 28 times.
✗ Branch 17 not taken.
✓ Branch 19 taken 28 times.
✗ Branch 20 not taken.
✓ Branch 22 taken 28 times.
✗ Branch 23 not taken.
|
28 | std::cout << a << ' ' << b << ' ' << c << ' ' << d << '\n'; |
| 11 | 28 | return 0; | |
| 12 | 28 | } | |
| 13 |