GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 9 / 0 / 9
Functions: 100.0% 1 / 0 / 1
Branches: 50.0% 5 / 0 / 10

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