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