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: 66.7% 8 / 0 / 12

test/cpv/library-checker-convolution/bitwise_and_convolution.mints-ms64.cpp
Line Branch Exec Source
1 #define AUTO_GENERATED
2 // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/bitwise_and_convolution
3 #include "../../../src/conv/and/lib.hpp"
4 #include "../../../src/io/container/lib.hpp"
5 #include "../../../src/io/fastin/lib.hpp"
6 #include "../../../src/io/fastout/lib.hpp"
7
8 using namespace tifa_libs;
9 CEXP u32 MOD = 998244353;
10
11 #include "../../../src/math/ds/mint/ms64/lib.hpp"
12
13 using namespace tifa_libs;
14 using mint = mint_ms64<MOD>;
15
16 13 int main() {
17 u32 n;
18 13 tifa_libs::fin_uint >> n;
19
2/4
✓ Branch 1 taken 13 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 13 times.
✗ Branch 5 not taken.
39 vec<mint> a(1 << n), b(1 << n);
20
2/2
✓ Branch 6 taken 3506543 times.
✓ Branch 7 taken 13 times.
3506556 for (auto& i : a) tifa_libs::fin_uint >> i;
21
2/2
✓ Branch 6 taken 3506543 times.
✓ Branch 7 taken 13 times.
3506556 for (auto& i : b) tifa_libs::fin_uint >> i;
22
2/4
✓ Branch 1 taken 13 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 13 times.
✗ Branch 5 not taken.
13 tifa_libs::fout << tifa_libs::conv_and(a, b) << '\n';
23 13 return 0;
24 13 }
25