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: 50.0% 5 / 0 / 10

test/cpv/aizu-alds1/alds1_5_d.cpp
Line Branch Exec Source
1 // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/lesson/1/ALDS1/all/ALDS1_5_D
2 #include "../../../src/io/container/lib.hpp"
3 #include "../../../src/math/inversion/lib.hpp"
4
5 using namespace tifa_libs;
6 30 int main() {
7
1/2
✓ Branch 2 taken 30 times.
✗ Branch 3 not taken.
30 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
8 u32 n;
9
1/2
✓ Branch 1 taken 30 times.
✗ Branch 2 not taken.
30 std::cin >> n;
10
1/2
✓ Branch 1 taken 30 times.
✗ Branch 2 not taken.
30 vecu a(n);
11 30 std::cin >> a;
12
2/4
✓ Branch 2 taken 30 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 30 times.
✗ Branch 6 not taken.
30 std::cout << inversion(a) << '\n';
13 30 return 0;
14 30 }
15