test/cpv/aizu-alds1/alds1_14_b.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/lesson/1/ALDS1/all/ALDS1_14_B | ||
| 2 | #include "../../../src/str/kmp/lib.hpp" | ||
| 3 | |||
| 4 | using namespace tifa_libs; | ||
| 5 | 36 | int main() { | |
| 6 |
1/2✓ Branch 2 taken 36 times.
✗ Branch 3 not taken.
|
36 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 7 | 36 | strn s, p; | |
| 8 |
2/4✓ Branch 1 taken 36 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 36 times.
✗ Branch 5 not taken.
|
36 | std::cin >> s >> p; |
| 9 | 36 | auto _ = kmp(p, s); | |
| 10 |
4/6✓ Branch 4 taken 1989751 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 1989751 times.
✗ Branch 8 not taken.
✓ Branch 11 taken 1989751 times.
✓ Branch 12 taken 36 times.
|
1989787 | for (auto i : _) std::cout << i << '\n'; |
| 11 | 36 | return 0; | |
| 12 | 36 | } | |
| 13 |