GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 6 / 0 / 6
Functions: 100.0% 1 / 0 / 1
Branches: 50.0% 4 / 0 / 8

test/cpv/aizu-dpl/dpl_5_a.mintd-md.cpp
Line Branch Exec Source
1 #define AUTO_GENERATED
2 // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/7/DPL/all/DPL_5_A
3 #include "../../../src/comb/ball_box/dda/lib.hpp"
4
5 using namespace tifa_libs;
6 CEXP u32 MOD = 1000000000 + 7;
7
8 #include "../../../src/math/ds/mint/md/lib.hpp"
9
10 using namespace tifa_libs;
11 using mint = mint_md<__LINE__>;
12
13 28 int main() {
14 28 mint::set_mod(MOD);
15
1/2
✓ Branch 2 taken 28 times.
✗ Branch 3 not taken.
28 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
16 u32 n, k;
17
2/4
✓ Branch 1 taken 28 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 28 times.
✗ Branch 5 not taken.
28 std::cin >> n >> k;
18
1/2
✓ Branch 3 taken 28 times.
✗ Branch 4 not taken.
28 std::cout << tifa_libs::ball_box_dda<mint>(n, k) << '\n';
19 28 return 0;
20 }
21