GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 8 / 0 / 8
Functions: 100.0% 1 / 0 / 1
Branches: 58.3% 7 / 0 / 12

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